Interface EventFactory
-
- All Known Implementing Classes:
DefaultEventFactory
public interface EventFactoryUsed byStateMachineProxyBuilderto createEventobjects when methods are invoked on the proxy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Eventcreate(StateContext context, java.lang.reflect.Method method, java.lang.Object[] arguments)Creates a newEventfrom the specified method and method arguments.
-
-
-
Method Detail
-
create
Event create(StateContext context, java.lang.reflect.Method method, java.lang.Object[] arguments)
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.
-
-