nu.zoom.ldap.eon.directory.event
Interface DirectoryEventListenerRegistry

All Known Implementing Classes:
EventListenerRegistryImpl

public interface DirectoryEventListenerRegistry

Tracks listeners of directory events.

Version:
$Revision: 1.1 $
Author:
$Author: johan $

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)
           
 

Method Detail

addEventListener

void addEventListener(ConnectionGUID connection,
                      DirectoryEventListener listener)

removeEventListener

void removeEventListener(DirectoryEventListener listener)

fireStructureChanged

void fireStructureChanged(ConnectionGUID connection,
                          Name name)
Informes registered listeners about a structure change.

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

void fireAttributesChanged(ConnectionGUID connection,
                           Name name)
Inform registered listeners about a change in attributes on the named object.

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.