public interface EventFactory
StateMachineProxyBuilder to create Event objects when
methods are invoked on the proxy.| 限定符和类型 | 方法和说明 |
|---|---|
Event |
create(StateContext context,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
Creates a new
Event from the specified method and method
arguments. |
Event create(StateContext context, java.lang.reflect.Method method, java.lang.Object[] arguments)
Event from the specified method and method
arguments.context - the current StateContext.method - the method being invoked.arguments - the method arguments.Event object.