org.apache.activemq.security
Class SimpleCachedLDAPAuthorizationMap.CachedLDAPAuthorizationMapNamespaceChangeListener
java.lang.Object
org.apache.activemq.security.SimpleCachedLDAPAuthorizationMap.CachedLDAPAuthorizationMapNamespaceChangeListener
- All Implemented Interfaces:
- EventListener, NamespaceChangeListener, NamingListener, ObjectChangeListener
- Enclosing class:
- SimpleCachedLDAPAuthorizationMap
protected class SimpleCachedLDAPAuthorizationMap.CachedLDAPAuthorizationMapNamespaceChangeListener
- extends Object
- implements NamespaceChangeListener, ObjectChangeListener
Listener implementation for directory changes that maps change events to
destination types.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleCachedLDAPAuthorizationMap.CachedLDAPAuthorizationMapNamespaceChangeListener
public SimpleCachedLDAPAuthorizationMap.CachedLDAPAuthorizationMapNamespaceChangeListener(SimpleCachedLDAPAuthorizationMap.DestinationType destinationType,
SimpleCachedLDAPAuthorizationMap.PermissionType permissionType)
- Creates a new listener. If
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.
- Parameters:
destinationType - the type of the destination being listened forpermissionType - the optional permission type being listened for
namingExceptionThrown
public void namingExceptionThrown(NamingExceptionEvent evt)
- Specified by:
namingExceptionThrown in interface NamingListener
objectAdded
public void objectAdded(NamingEvent evt)
- Specified by:
objectAdded in interface NamespaceChangeListener
objectRemoved
public void objectRemoved(NamingEvent evt)
- Specified by:
objectRemoved in interface NamespaceChangeListener
objectRenamed
public void objectRenamed(NamingEvent evt)
- Specified by:
objectRenamed in interface NamespaceChangeListener
objectChanged
public void objectChanged(NamingEvent evt)
- Specified by:
objectChanged in interface ObjectChangeListener
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.