public class ObjectMessageDelegator<S extends MessageConnection> extends AbstractMessageDelegator<S>
| Constructor and Description |
|---|
ObjectMessageDelegator(java.lang.Object delegate,
boolean automap)
Creates a MessageListener that will forward mapped message types
to methods of the specified object.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
getSourceDelegate(MessageConnection source)
Implemented by subclasses to provide the actual delegate object
against which the mapped message type methods will be called.
|
allowName, automap, findDelegate, getMessageType, getMessageTypes, getMethod, isValidMethod, map, map, map, messageReceivedpublic ObjectMessageDelegator(java.lang.Object delegate,
boolean automap)
Methods of the following signatures are allowed:
protected java.lang.Object getSourceDelegate(MessageConnection source)
AbstractMessageDelegatorgetSourceDelegate in class AbstractMessageDelegator<S extends MessageConnection>