org.apache.mina.statemachine.event
Interface EventFactory
- All Known Implementing Classes:
- DefaultEventFactory
public interface EventFactory
Used by StateMachineProxyBuilder
to create Event
objects when
methods are invoked on the proxy.
- Author:
- Apache MINA Project
Method Summary |
Event |
create(StateContext context,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
Creates a new Event from the specified method and method
arguments. |
create
Event create(StateContext context,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
- Creates a new
Event
from the specified method and method
arguments.
- Parameters:
context
- the current StateContext
.method
- the method being invoked.args
- the method arguments.
- Returns:
- the
Event
object.
Copyright © 2004-2011 Apache MINA Project. All Rights Reserved.