|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.arjuna.orbportability.event.EventManager
The current implementation will invoke all registered handlers whenever an object is connected and disconnected. These handlers can then determine whether they want to do anything about it by checking the type of the object (using narrow).
Constructor Summary | |
protected |
EventManager()
|
Method Summary | |
boolean |
addHandler(EventHandler h)
Add the specified handler. |
void |
connected(org.omg.CORBA.Object obj)
The object has been connected to the ORB. |
void |
disconnected(org.omg.CORBA.Object obj)
The object has been disconnected from the ORB. |
static EventManager |
getManager()
|
boolean |
removeHandler(EventHandler h)
Remove the specified handler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected EventManager()
Method Detail |
public void connected(org.omg.CORBA.Object obj)
public void disconnected(org.omg.CORBA.Object obj)
public boolean addHandler(EventHandler h)
public boolean removeHandler(EventHandler h)
public static EventManager getManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |