|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface serves as a registry of other objects. The object registry is thread-safe.
| Method Summary | |
void |
clear()
Clear the object registry and release all references. |
iObjectRegistryIterator |
get()
Get an iterator with all objects in this object registry. |
iObjectRegistryIterator |
get(long id,
int version)
Get an iterator with all objects implementing the given interface. |
iBase |
get(java.lang.String tag)
Get the registered object corresponding with the given tag. |
iBase |
get(java.lang.String tag,
long id,
int version)
Get the registered object corresponding with the given tag and implementing the specified interface. |
boolean |
register(iBase base,
java.lang.String tag)
Register an object with this registry. |
void |
unregister(iBase base,
java.lang.String tag)
Unregister an object with this registry. |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Method Detail |
public void clear()
public boolean register(iBase base,
java.lang.String tag)
base - tag -
public void unregister(iBase base,
java.lang.String tag)
base - tag - public iBase get(java.lang.String tag)
tag -
public iBase get(java.lang.String tag,
long id,
int version)
tag - id - version -
public iObjectRegistryIterator get(long id,
int version)
id - version -
public iObjectRegistryIterator get()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||