org.apache.mina.statemachine.event
Class DefaultEventFactory
java.lang.Object
org.apache.mina.statemachine.event.DefaultEventFactory
- All Implemented Interfaces:
- EventFactory
public class DefaultEventFactory
- extends Object
- implements EventFactory
Default EventFactory
implementation. Uses the method's name as
event id.
- Version:
- $Rev: 586090 $, $Date: 2007-10-18 21:12:08 +0200 (jeu, 18 oct 2007) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEventFactory
public DefaultEventFactory()
create
public Event create(StateContext context,
Method method,
Object[] arguments)
- Description copied from interface:
EventFactory
- Creates a new
Event
from the specified method and method
arguments.
- Specified by:
create
in interface EventFactory
- Parameters:
context
- the current StateContext
.method
- the method being invoked.
- Returns:
- the
Event
object.
Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.