public class SessionDataDelegator extends AbstractMessageDelegator<HostedConnection>
Constructor and Description |
---|
SessionDataDelegator(java.lang.Class delegateType,
java.lang.String attributeName,
boolean automap)
Creates a MessageListener that will forward mapped message types
to methods of an object specified as a HostedConnection attribute.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeName()
Returns the attribute name that will be used to look up the
delegate object.
|
protected java.lang.Object |
getSourceDelegate(HostedConnection source)
Returns the attributeName attribute of the supplied source
HostConnection.
|
protected void |
miss(HostedConnection source)
Called internally when there is no session object
for the current attribute name attached to the passed source
HostConnection.
|
allowName, automap, findDelegate, getMessageType, getMessageTypes, getMethod, isValidMethod, map, map, map, messageReceived
public SessionDataDelegator(java.lang.Class delegateType, java.lang.String attributeName, boolean automap)
Methods of the following signatures are allowed:
public java.lang.String getAttributeName()
protected void miss(HostedConnection source)
protected java.lang.Object getSourceDelegate(HostedConnection source)
getSourceDelegate
in class AbstractMessageDelegator<HostedConnection>