|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ulc.comm.Registry
An object registry used to manage an object space. A registry can have a parent registry. Looking for an object propagates along the parent chain.
Constructor Summary | |
Registry(Registry parent)
Creates a registry with the given parent. |
Method Summary | |
void |
dispose()
Dispose the registry and tell all the registered objects to free themselves. |
ICallable |
find(int oid)
Finds an object with the given object id. |
java.util.Hashtable |
getRegistry()
Returns the registry. |
int |
register(ICallable c)
Assigns an object id and registers the object. |
void |
register(int oid,
ICallable c)
Registers an object with a given id. |
void |
shutdown()
|
void |
unregister(int oid)
Unregisters an object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Registry(Registry parent)
Method Detail |
public void dispose()
public ICallable find(int oid)
public java.util.Hashtable getRegistry()
public void register(int oid, ICallable c)
public int register(ICallable c)
public void shutdown()
public void unregister(int oid)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |