|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.csutil.objreg.csObjectRegistry
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csObjectRegistry(iPointer nPointer)
|
|
| Method Summary | |
void |
clear()
Clear the object registry and release all references. |
static iPointer |
CS_QUERY_REGISTRY(iObjectRegistry registry,
java.lang.Class interfaceToGet)
|
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. |
static java.lang.Class |
getInterfaceClass()
|
static java.lang.String |
getInterfaceName()
|
static int |
getInterfaceVersion()
|
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
static void |
initSCF()
|
protected boolean |
isNativePointerValidSafe()
|
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 class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
| Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, isNativePointerValidSafe, newNativeObject, setMemoryOwner, toString |
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Constructor Detail |
public csObjectRegistry(iPointer nPointer)
| Method Detail |
public int getVersion()
iBase
getVersion in interface iBasegetVersion in class csBasepublic java.lang.String getName()
iBase
getName in interface iBasegetName in class csBasepublic static void initSCF()
public final void clear()
iObjectRegistry
clear in interface iObjectRegistrypublic final iObjectRegistryIterator get()
iObjectRegistry
get in interface iObjectRegistry
public final iObjectRegistryIterator get(long id,
int version)
iObjectRegistry
get in interface iObjectRegistryid - version -
public final iBase get(java.lang.String tag)
iObjectRegistry
get in interface iObjectRegistrytag -
public final iBase get(java.lang.String tag,
long id,
int version)
iObjectRegistry
get in interface iObjectRegistrytag - id - version -
public final boolean register(iBase base,
java.lang.String tag)
iObjectRegistry
register in interface iObjectRegistrybase - tag -
public final void unregister(iBase base,
java.lang.String tag)
iObjectRegistry
unregister in interface iObjectRegistrybase - tag -
public static final iPointer CS_QUERY_REGISTRY(iObjectRegistry registry,
java.lang.Class interfaceToGet)
public static int getInterfaceVersion()
public static java.lang.String getInterfaceName()
public static java.lang.Class getInterfaceClass()
protected boolean isNativePointerValidSafe()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||