public class DefaultEventFactory extends java.lang.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,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
Creates a new
Event from the specified method and method
arguments. |
public Event create(StateContext context, java.lang.reflect.Method method, java.lang.Object[] arguments)
EventFactory
Event
from the specified method and method
arguments.create
in interface EventFactory
context
- the current StateContext
.method
- the method being invoked.Event
object.Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.