public class DefaultEventFactory extends Object implements EventFactory
EventFactory implementation. Uses the method's name as
event id.| Constructor and Description |
|---|
DefaultEventFactory() |
| Modifier and Type | Method and Description |
|---|---|
Event |
create(StateContext context,
Method method,
Object[] arguments)
Creates a new
Event from the specified method and method
arguments. |
public Event create(StateContext context, Method method, Object[] arguments)
EventFactoryEvent from the specified method and method
arguments.create in interface EventFactorycontext - the current StateContext.method - the method being invoked.arguments - the method arguments.Event object.Copyright © 2004–2017 Apache MINA Project. All rights reserved.