public class LegacyClusteredSessionNotificationPolicy extends ClusteredSessionNotificationPolicyBase
ClusteredSessionNotificationPolicy implementation that describes the behavior of JBoss AS releases prior to 4.2.4.| Constructor and Description |
|---|
LegacyClusteredSessionNotificationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHttpSessionActivationListenerInvocationAllowed(ClusteredSessionManagementStatus status,
ClusteredSessionNotificationCause cause,
String attributeName)
Under the given conditions, are invocations of
HttpSessionActivationListener callbacks allowed? |
boolean |
isHttpSessionAttributeListenerInvocationAllowed(ClusteredSessionManagementStatus status,
ClusteredSessionNotificationCause cause,
String attributeName,
boolean local)
Under the given conditions, are invocations of
HttpSessionAttributeListener callbacks allowed? |
boolean |
isHttpSessionBindingListenerInvocationAllowed(ClusteredSessionManagementStatus status,
ClusteredSessionNotificationCause cause,
String attributeName,
boolean local)
Under the given conditions, are invocations of
HttpSessionBindingListener callbacks allowed? |
boolean |
isHttpSessionListenerInvocationAllowed(ClusteredSessionManagementStatus status,
ClusteredSessionNotificationCause cause,
boolean local)
Are invocations of
HttpSessionListener callbacks allowed under the given conditions? |
getClusteredSessionNotificationCapability, setClusteredSessionNotificationCapabilitypublic LegacyClusteredSessionNotificationPolicy()
public boolean isHttpSessionAttributeListenerInvocationAllowed(ClusteredSessionManagementStatus status, ClusteredSessionNotificationCause cause, String attributeName, boolean local)
HttpSessionAttributeListener callbacks allowed?status - the status of the sessioncause - the cause of the session notificationattributeName - value that would be passed to the name param of the
HttpSessionBindingEvent if the listener were invokedlocal - true if the event driving the notification originated on this node; false otherwisetrue if status.isLocallyUsed() is true.public boolean isHttpSessionBindingListenerInvocationAllowed(ClusteredSessionManagementStatus status, ClusteredSessionNotificationCause cause, String attributeName, boolean local)
HttpSessionBindingListener callbacks allowed?status - the status of the sessioncause - the cause of the session notificationattributeName - value that would be passed to the name param of the
HttpSessionBindingEvent if the listener were invokedlocal - true if the event driving the notification originated on this node; false otherwisetrue if status.isLocallyUsed() is true.public boolean isHttpSessionListenerInvocationAllowed(ClusteredSessionManagementStatus status, ClusteredSessionNotificationCause cause, boolean local)
HttpSessionListener callbacks allowed under the given conditions?status - the status of the sessioncause - the cause of the session notificationlocal - true if the event driving the notification originated on this node; false otherwisetrue if status.isLocallyUsed() is true.public boolean isHttpSessionActivationListenerInvocationAllowed(ClusteredSessionManagementStatus status, ClusteredSessionNotificationCause cause, String attributeName)
HttpSessionActivationListener callbacks allowed?status - the status of the sessioncause - the cause of the session notificationattributeName - value that would be passed to the name param of the HttpSessionEvent if
the listener were invokedtrue if status.isLocallyUsed() is true.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.