Class DefaultEventFactory
java.lang.Object
org.apache.mina.statemachine.event.DefaultEventFactory
- All Implemented Interfaces:
EventFactory
Default
EventFactory implementation. Uses the method's name as
event id.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultEventFactory
public DefaultEventFactory()
-
-
Method Details
-
create
Creates a newEventfrom the specified method and method arguments.- Specified by:
createin interfaceEventFactory- Parameters:
context- the currentStateContext.method- the method being invoked.arguments- the method arguments.- Returns:
- the
Eventobject.
-