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.
- Version:
- $Rev: 641052 $, $Date: 2008-03-25 23:22:35 +0100 (mar, 25 mar 2008) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
create
Event create(StateContext context,
Method method,
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-2008 Apache MINA Project. All Rights Reserved.