protected class SimpleCachedLDAPAuthorizationMap.CachedLDAPAuthorizationMapNamespaceChangeListener extends Object implements NamespaceChangeListener, ObjectChangeListener
Constructor and Description |
---|
CachedLDAPAuthorizationMapNamespaceChangeListener(SimpleCachedLDAPAuthorizationMap.DestinationType destinationType,
SimpleCachedLDAPAuthorizationMap.PermissionType permissionType)
Creates a new listener.
|
Modifier and Type | Method and Description |
---|---|
void |
namingExceptionThrown(NamingExceptionEvent evt) |
void |
objectAdded(NamingEvent evt) |
void |
objectChanged(NamingEvent evt) |
void |
objectRemoved(NamingEvent evt) |
void |
objectRenamed(NamingEvent evt) |
public CachedLDAPAuthorizationMapNamespaceChangeListener(SimpleCachedLDAPAuthorizationMap.DestinationType destinationType, SimpleCachedLDAPAuthorizationMap.PermissionType permissionType)
permissionType
is null
, add and remove events are ignored as they
do not directly affect policy state. This configuration is used when listening for changes on entries that
represent destination patterns and not for entries that represent permissions.destinationType
- the type of the destination being listened forpermissionType
- the optional permission type being listened forpublic void namingExceptionThrown(NamingExceptionEvent evt)
namingExceptionThrown
in interface NamingListener
public void objectAdded(NamingEvent evt)
objectAdded
in interface NamespaceChangeListener
public void objectRemoved(NamingEvent evt)
objectRemoved
in interface NamespaceChangeListener
public void objectRenamed(NamingEvent evt)
objectRenamed
in interface NamespaceChangeListener
public void objectChanged(NamingEvent evt)
objectChanged
in interface ObjectChangeListener
Copyright © 2005–2018 The Apache Software Foundation. All rights reserved.