org.apache.mina.statemachine.event
Interface EventFactory
- All Known Implementing Classes:
- DefaultEventFactory
public interface EventFactory
Used by StateMachineProxyFactory to create Event objects when
methods are invoked on the proxy.
- Version:
- $Rev: 586090 $, $Date: 2007-10-18 21:12:08 +0200 (Thu, 18 Oct 2007) $
- 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-2009 Apache MINA Project. All Rights Reserved.