|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.domain.management.grid.GridDomainManagerEventListener
public final class GridDomainManagerEventListener
Defines the callback method to be invoked by the Domain Manager on the DomainManagerEventListener when a domain event occurs.
| Constructor Summary | |
|---|---|
GridDomainManagerEventListener()
Constructors |
|
GridDomainManagerEventListener(DomainDirectoryService directory)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getHierachyForDomain(java.lang.String name)
|
void |
initialize()
Obtain references to the Grid AgentRegistrationHelper and LogAgentRep. |
void |
initialize(DomainDirectoryService directory)
Obtain references to the Grid AgentRegistrationHelper and LogAgentRep. |
boolean |
listeningForEvent(java.util.Map event)
Determines if this Listener is listening for the specified event. |
protected void |
printDebugString(java.lang.String msg,
int loggerDisplayLevel)
A utility method to print a String. |
void |
receiveDomainEvent(java.util.Map event)
Notify the listener about a domain event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GridDomainManagerEventListener()
public GridDomainManagerEventListener(DomainDirectoryService directory)
| Method Detail |
|---|
public void initialize()
public void initialize(DomainDirectoryService directory)
initialize in interface DomainManagerEventListenerdirectory - DomainDirectoryService this DomainManagerEventListener associates itself with.public void receiveDomainEvent(java.util.Map event)
This listener must have established a trust relationship with the Domain Manager in order to receive domain events.
receiveDomainEvent in interface DomainManagerEventListenerevent - A domain event communicated by the Domain Manager to this listener.public boolean listeningForEvent(java.util.Map event)
listeningForEvent in interface DomainManagerEventListenerevent - A domain event to be sent to the appropriate listeners.
public java.lang.String getHierachyForDomain(java.lang.String name)
protected void printDebugString(java.lang.String msg,
int loggerDisplayLevel)
msg - The String to be printed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||