|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.statemachine.event.DefaultEventFactory
public class DefaultEventFactory
Default EventFactory
implementation. Uses the method's name as
event id.
Constructor Summary | |
---|---|
DefaultEventFactory()
|
Method Summary | |
---|---|
Event |
create(StateContext context,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
Creates a new Event from the specified method and method
arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultEventFactory()
Method Detail |
---|
public Event create(StateContext context, java.lang.reflect.Method method, java.lang.Object[] arguments)
EventFactory
Event
from the specified method and method
arguments.
create
in interface EventFactory
context
- the current StateContext
.method
- the method being invoked.
Event
object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |