|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalDistributableSessionManager
Callback interface to allow the distributed caching layer to invoke upon the local session manager.
Method Summary | |
---|---|
ClassLoader |
getApplicationClassLoader()
Get the classloader able to load application classes. |
String |
getContextName()
Gets the name of the Tomcat Context. |
String |
getHostName()
Gets the name of the application's virtual host. |
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. |
Method Detail |
---|
boolean isPassivationEnabled()
true
if passivation is enabledString getContextName()
String getHostName()
ClassLoader getApplicationClassLoader()
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 cache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |