Interface EventFactory
-
- All Known Implementing Classes:
DefaultEventFactory
public interface EventFactory
Used byStateMachineProxyBuilder
to createEvent
objects when methods are invoked on the proxy.- Author:
- Apache MINA Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Event
create(StateContext context, Method method, Object[] arguments)
Creates a newEvent
from the specified method and method arguments.
-
-
-
Method Detail
-
create
Event create(StateContext context, Method method, Object[] arguments)
Creates a newEvent
from the specified method and method arguments.- Parameters:
context
- the currentStateContext
.method
- the method being invoked.arguments
- the method arguments.- Returns:
- the
Event
object.
-
-