Interface EventFactory
- All Known Implementing Classes:
DefaultEventFactory
public interface EventFactory
Used by
StateMachineProxyBuilder to create Event objects when
methods are invoked on the proxy.-
Method Summary
-
Method Details
-
create
Creates a newEventfrom the specified method and method arguments.- Parameters:
context- the currentStateContext.method- the method being invoked.arguments- the method arguments.- Returns:
- the
Eventobject.
-