public class IgnoreUndeployLegacyClusteredSessionNotificationPolicy extends LegacyClusteredSessionNotificationPolicy
Constructor and Description |
---|
IgnoreUndeployLegacyClusteredSessionNotificationPolicy() |
Modifier and Type | Method and Description |
---|---|
boolean |
isHttpSessionAttributeListenerInvocationAllowed(ClusteredSessionManagementStatus status,
ClusteredSessionNotificationCause cause,
String attributeName,
boolean local)
Overrides superclass to return
false if the cause of the notification is ClusteredSessionNotificationCause.UNDEPLOY . |
boolean |
isHttpSessionListenerInvocationAllowed(ClusteredSessionManagementStatus status,
ClusteredSessionNotificationCause cause,
boolean local)
Overrides superclass to return
false if the cause of the notification is ClusteredSessionNotificationCause.UNDEPLOY . |
isHttpSessionActivationListenerInvocationAllowed, isHttpSessionBindingListenerInvocationAllowed
getClusteredSessionNotificationCapability, setClusteredSessionNotificationCapability
public IgnoreUndeployLegacyClusteredSessionNotificationPolicy()
public boolean isHttpSessionAttributeListenerInvocationAllowed(ClusteredSessionManagementStatus status, ClusteredSessionNotificationCause cause, String attributeName, boolean local)
false
if the cause of the notification is ClusteredSessionNotificationCause.UNDEPLOY
.isHttpSessionAttributeListenerInvocationAllowed
in interface ClusteredSessionNotificationPolicy
isHttpSessionAttributeListenerInvocationAllowed
in class LegacyClusteredSessionNotificationPolicy
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
and the cause of the notification
is not ClusteredSessionNotificationCause.UNDEPLOY
.public boolean isHttpSessionListenerInvocationAllowed(ClusteredSessionManagementStatus status, ClusteredSessionNotificationCause cause, boolean local)
false
if the cause of the notification is ClusteredSessionNotificationCause.UNDEPLOY
.isHttpSessionListenerInvocationAllowed
in interface ClusteredSessionNotificationPolicy
isHttpSessionListenerInvocationAllowed
in class LegacyClusteredSessionNotificationPolicy
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
and the cause of the notification
is not ClusteredSessionNotificationCause.UNDEPLOY
.Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.