org.apache.activemq.security
Class SimpleCachedLDAPAuthorizationMap.CachedLDAPAuthorizationMapNamespaceChangeListener

java.lang.Object
  extended by 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.


Constructor Summary
SimpleCachedLDAPAuthorizationMap.CachedLDAPAuthorizationMapNamespaceChangeListener(SimpleCachedLDAPAuthorizationMap.DestinationType destinationType, SimpleCachedLDAPAuthorizationMap.PermissionType permissionType)
          Creates a new listener.
 
Method Summary
 void namingExceptionThrown(NamingExceptionEvent evt)
           
 void objectAdded(NamingEvent evt)
           
 void objectChanged(NamingEvent evt)
           
 void objectRemoved(NamingEvent evt)
           
 void objectRenamed(NamingEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 for
permissionType - the optional permission type being listened for
Method Detail

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.