public interface LocalDistributableSessionManager
Modifier and Type | Method and Description |
---|---|
org.jboss.marshalling.ClassResolver |
getApplicationClassResolver()
Get the classloader able to load application classes.
|
String |
getContextName() |
String |
getEngineName()
Returns the name of the session manager's engine.
|
String |
getHostName() |
String |
getJvmRoute()
Returns the jvm route of this node.
|
String |
getName()
Returns the unique name of this session manager.
|
org.jboss.metadata.web.jboss.ReplicationConfig |
getReplicationConfig()
Gets the web application metadata.
|
boolean |
isPassivationEnabled()
Gets whether the webapp is configured for passivation.
|
void |
notifyLocalAttributeModification(String realId)
Callback from the distributed cache notifying of a local modification to a session's attributes.
|
void |
notifyRemoteInvalidation(String realId)
Notifies the manager that a session in the distributed cache has been invalidated
|
void |
sessionActivated()
Notification that a previously passivated session has been activated.
|
boolean |
sessionChangedInDistributedCache(String realId,
String dataOwner,
int distributedVersion,
long timestamp,
DistributableSessionMetadata metadata)
Callback from the distributed cache to notify us that a session has been modified remotely.
|
boolean isPassivationEnabled()
true
if passivation is enabledString getName()
String getHostName()
String getContextName()
String getEngineName()
org.jboss.marshalling.ClassResolver getApplicationClassResolver()
null
org.jboss.metadata.web.jboss.ReplicationConfig getReplicationConfig()
null
void notifyRemoteInvalidation(String realId)
realId
- the session id excluding any jvmRoutevoid notifyLocalAttributeModification(String realId)
realId
- the session id excluding any jvmRoutevoid sessionActivated()
boolean sessionChangedInDistributedCache(String realId, String dataOwner, int distributedVersion, long timestamp, DistributableSessionMetadata metadata)
realId
- the session id, without any trailing jvmRoutedataOwner
- the owner of the session. Can be null
if the owner is unknown.distributedVersion
- the session's version per the distributed cachetimestamp
- the session's timestamp per the distributed cachemetadata
- the session's metadata per the distributed cacheString getJvmRoute()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.