|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StateContext | |
---|---|
org.apache.mina.statemachine.context | |
org.apache.mina.statemachine.event |
Uses of StateContext in org.apache.mina.statemachine.context |
---|
Classes in org.apache.mina.statemachine.context that implement StateContext | |
---|---|
class |
AbstractStateContext
Abstract StateContext which uses a Map to store the
attributes. |
class |
DefaultStateContext
Default StateContext implementation. |
Methods in org.apache.mina.statemachine.context that return StateContext | |
---|---|
StateContext |
StateContextFactory.create()
Creates a new StateContext . |
StateContext |
DefaultStateContextFactory.create()
|
protected abstract StateContext |
AbstractStateContextLookup.lookup(Object eventArg)
Extracts a StateContext from the specified event argument which
is an instance of a class AbstractStateContextLookup.supports(Class) returns
true for. |
protected StateContext |
IoSessionStateContextLookup.lookup(Object eventArg)
|
StateContext |
AbstractStateContextLookup.lookup(Object[] eventArgs)
|
StateContext |
SingletonStateContextLookup.lookup(Object[] eventArgs)
|
StateContext |
StateContextLookup.lookup(Object[] eventArgs)
Searches the arguments from an Event and returns a
StateContext if any of the arguments holds one. |
Methods in org.apache.mina.statemachine.context with parameters of type StateContext | |
---|---|
protected abstract void |
AbstractStateContextLookup.store(Object eventArg,
StateContext context)
Stores a new StateContext in the specified event argument which
is an instance of a class AbstractStateContextLookup.supports(Class) returns
true for. |
protected void |
IoSessionStateContextLookup.store(Object eventArg,
StateContext context)
|
Uses of StateContext in org.apache.mina.statemachine.event |
---|
Methods in org.apache.mina.statemachine.event that return StateContext | |
---|---|
StateContext |
Event.getContext()
Returns the StateContext this Event was triggered for. |
Methods in org.apache.mina.statemachine.event with parameters of type StateContext | |
---|---|
Event |
EventFactory.create(StateContext context,
Method method,
Object[] arguments)
Creates a new Event from the specified method and method
arguments. |
Event |
DefaultEventFactory.create(StateContext context,
Method method,
Object[] arguments)
|
Constructors in org.apache.mina.statemachine.event with parameters of type StateContext | |
---|---|
Event(Object id,
StateContext context)
Creates a new Event with the specified id and no arguments. |
|
Event(Object id,
StateContext context,
Object[] arguments)
Creates a new Event with the specified id and arguments. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |