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 booleanFlag that tells whether booting of the module has completed.protected Stringname of module, can be nullprotected ObjectThe module instanceprotected Objectthe actual service to which I belong, could be null.protected Objectthe top-level service this module lives in, can be null or the service itself -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedModuleInstance(Object instance) protectedModuleInstance(Object instance, String identifier, Object service, Object topLevelService) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected Objectprotected Object(package private) booleanisBooted()Check whether booting of the module has completed.protected booleanisTypeAndName(PersistentService serviceType, Class factoryInterface, String otherCanonicalName) (package private) voidSet 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:
trueif the module has been booted, orfalseotherwise
-