Class ModuleInstance
- java.lang.Object
-
- org.apache.derby.impl.services.monitor.ModuleInstance
-
class ModuleInstance extends java.lang.Object
A description of an instance of a module.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
booted
Flag that tells whether booting of the module has completed.protected java.lang.String
identifier
name of module, can be nullprotected java.lang.Object
instance
The module instanceprotected java.lang.Object
service
the actual service to which I belong, could be null.protected java.lang.Object
topLevelService
the top-level service this module lives in, can be null or the service itself
-
Constructor Summary
Constructors Modifier Constructor Description protected
ModuleInstance(java.lang.Object instance)
protected
ModuleInstance(java.lang.Object instance, java.lang.String identifier, java.lang.Object service, java.lang.Object topLevelService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getIdentifier()
protected java.lang.Object
getInstance()
protected java.lang.Object
getTopLevelService()
(package private) boolean
isBooted()
Check whether booting of the module has completed.protected boolean
isTypeAndName(PersistentService serviceType, java.lang.Class factoryInterface, java.lang.String otherCanonicalName)
(package private) void
setBooted()
Set a flag that indicates that booting of the module has completed.
-
-
-
Field Detail
-
instance
protected java.lang.Object instance
The module instance
-
identifier
protected java.lang.String identifier
name of module, can be null
-
topLevelService
protected java.lang.Object topLevelService
the top-level service this module lives in, can be null or the service itself
-
service
protected java.lang.Object service
the actual service to which I belong, could be null.
-
booted
private boolean booted
Flag that tells whether booting of the module has completed.
-
-
Method Detail
-
isTypeAndName
protected boolean isTypeAndName(PersistentService serviceType, java.lang.Class factoryInterface, java.lang.String otherCanonicalName)
-
getIdentifier
protected java.lang.String getIdentifier()
-
getTopLevelService
protected java.lang.Object getTopLevelService()
-
getInstance
protected java.lang.Object getInstance()
-
setBooted
void setBooted()
Set a flag that indicates that booting of the module has completed.
-
isBooted
boolean isBooted()
Check whether booting of the module has completed.- Returns:
true
if the module has been booted, orfalse
otherwise
-
-