public class ClusteredSessionNotificationCapability extends Object
ClusteredSessionNotificationPolicy can use this information to get a sense of the capabilities of
the container.| Constructor and Description |
|---|
ClusteredSessionNotificationCapability() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHttpSessionAttributeListenerInvocationSupported(ClusteredSessionManagementStatus status,
ClusteredSessionNotificationCause cause,
boolean local)
Under the given conditions, does the container support invoking
HttpSessionAttributeListener callbacks? |
boolean |
isHttpSessionBindingListenerInvocationSupported(ClusteredSessionManagementStatus status,
ClusteredSessionNotificationCause cause,
boolean local)
Under the given conditions, does the container support invoking
HttpSessionBindingListener callbacks? |
boolean |
isHttpSessionListenerInvocationSupported(ClusteredSessionManagementStatus status,
ClusteredSessionNotificationCause cause,
boolean local)
Does the container support invoking
HttpSessionListener callbacks under the given conditions? |
boolean |
isLocallyActiveAware()
Is the container able to distinguish whether a session that has been
locally used is also
locally active? |
boolean |
isLocallyOwnedAware()
Is the container able to distinguish whether a session is
locally owned? |
boolean |
isRemoteCauseAware(ClusteredSessionNotificationCause cause)
Returns whether the local container is aware of events on remote nodes that could give rise to notifications.
|
public ClusteredSessionNotificationCapability()
public boolean isHttpSessionListenerInvocationSupported(ClusteredSessionManagementStatus status, ClusteredSessionNotificationCause cause, boolean local)
HttpSessionListener callbacks 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 the notification is supported, false if notpublic boolean isHttpSessionAttributeListenerInvocationSupported(ClusteredSessionManagementStatus status, ClusteredSessionNotificationCause cause, boolean local)
HttpSessionAttributeListener callbacks?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 the notification is supported, false if notpublic boolean isHttpSessionBindingListenerInvocationSupported(ClusteredSessionManagementStatus status, ClusteredSessionNotificationCause cause, boolean local)
HttpSessionBindingListener callbacks?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 the notification is supported, false if notpublic boolean isLocallyActiveAware()
locally used is also
locally active?true if the container is able to make this distinction; false if notpublic boolean isLocallyOwnedAware()
locally owned?true if the container is able to make this distinction; false if notpublic boolean isRemoteCauseAware(ClusteredSessionNotificationCause cause)
cause - the causetrue if the local container is aware of the remote event, false if not.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.