nu.zoom.ldap.eon.directory.event.impl
Class EventListenerRegistryImpl

java.lang.Object
  extended by nu.zoom.ldap.eon.directory.event.impl.EventListenerRegistryImpl
All Implemented Interfaces:
DirectoryEventListenerRegistry

public class EventListenerRegistryImpl
extends Object
implements DirectoryEventListenerRegistry

Version:
$Revision: 1.3 $
Author:
$Author: johan $

Constructor Summary
EventListenerRegistryImpl()
           
 
Method Summary
 void addEventListener(ConnectionGUID connection, DirectoryEventListener listener)
           
 void fireAttributesChanged(ConnectionGUID connection, Name name)
          Inform registered listeners about a change in attributes on the named object.
 void fireStructureChanged(ConnectionGUID connection, Name name)
          Informes registered listeners about a structure change.
 void removeEventListener(DirectoryEventListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListenerRegistryImpl

public EventListenerRegistryImpl()
Method Detail

addEventListener

public void addEventListener(ConnectionGUID connection,
                             DirectoryEventListener listener)
Specified by:
addEventListener in interface DirectoryEventListenerRegistry

removeEventListener

public void removeEventListener(DirectoryEventListener listener)
Specified by:
removeEventListener in interface DirectoryEventListenerRegistry

fireStructureChanged

public void fireStructureChanged(ConnectionGUID connection,
                                 Name name)
Description copied from interface: DirectoryEventListenerRegistry
Informes registered listeners about a structure change.

Specified by:
fireStructureChanged in interface DirectoryEventListenerRegistry
Parameters:
connection - The directory where the change took place. May not be null.
name - The object that is the root of the change. If the object is created its parent should be used.May not be null.
See Also:
DirectoryEventListener.structureChanged(Name)

fireAttributesChanged

public void fireAttributesChanged(ConnectionGUID connection,
                                  Name name)
Description copied from interface: DirectoryEventListenerRegistry
Inform registered listeners about a change in attributes on the named object.

Specified by:
fireAttributesChanged in interface DirectoryEventListenerRegistry
Parameters:
connection - The directory where the change took place.May not be null.
name - The object that had its attributes changed.May not be null.


Copyright © 2011. All Rights Reserved.