kaos.domain.management
Interface DomainManagerEventNotifier

All Known Implementing Classes:
GridDirectoryServicePolicyCert, KAoSDirectoryService

public interface DomainManagerEventNotifier

Defines the operations that can be invoked on the Domain Manager as a notifier of domain events. All framework entities may invoke those operations.


Method Summary
 void addEventListener(DomainManagerEventListener listener)
          Add an event listener to the collection of objects to be notified by the Domain Manager about a domain event.
 void removeEventListener(DomainManagerEventListener listener)
          Remove an event listener from the collection of objects to be notified by the Domain Manager about a domain event.
 

Method Detail

addEventListener

void addEventListener(DomainManagerEventListener listener)
                      throws DirectoryFailure
Add an event listener to the collection of objects to be notified by the Domain Manager about a domain event.

Those listeners must establish a trust relationship with the Domain Manager in order to receive domain events.

Parameters:
listener - The listener to be notified about a domain event.
Throws:
DirectoryFailure

removeEventListener

void removeEventListener(DomainManagerEventListener listener)
                         throws DirectoryFailure
Remove an event listener from the collection of objects to be notified by the Domain Manager about a domain event.

Those listeners have established a trust relationship with the Domain Manager prior to receiving domain events.

Parameters:
listener - The listener to be removed from the collection of domain events listeners.
Throws:
DirectoryFailure