Class ModuleInstance
java.lang.Object
org.apache.derby.impl.services.monitor.ModuleInstance
A description of an instance of a module.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Flag that tells whether booting of the module has completed.protected String
name of module, can be nullprotected Object
The module instanceprotected Object
the actual service to which I belong, could be null.protected Object
the top-level service this module lives in, can be null or the service itself -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ModuleInstance
(Object instance) protected
ModuleInstance
(Object instance, String identifier, Object service, Object topLevelService) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected Object
protected Object
(package private) boolean
isBooted()
Check whether booting of the module has completed.protected boolean
isTypeAndName
(PersistentService serviceType, Class factoryInterface, String otherCanonicalName) (package private) void
Set a flag that indicates that booting of the module has completed.
-
Field Details
-
instance
The module instance -
identifier
name of module, can be null -
topLevelService
the top-level service this module lives in, can be null or the service itself -
service
the actual service to which I belong, could be null. -
booted
private boolean bootedFlag that tells whether booting of the module has completed.
-
-
Constructor Details
-
ModuleInstance
-
ModuleInstance
-
-
Method Details
-
isTypeAndName
protected boolean isTypeAndName(PersistentService serviceType, Class factoryInterface, String otherCanonicalName) -
getIdentifier
-
getTopLevelService
-
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
-