Top Description Fields Constructors Methods
org.apache.derby.impl.services.monitor

pack-priv Class ModuleInstance

extends Object
Class Inheritance
Imports
org.apache.derby.iapi.services.monitor.PersistentService, java.util.Properties

A description of an instance of a module.

Field Summary

Modifier and TypeField and Description
private boolean
booted

Flag that tells whether booting of the module has completed.

protected String
identifier

name of module, can be null

protected Object
instance

The module instance

protected Object
service

the actual service to which I belong, could be null.

protected Object
topLevelService

the top-level service this module lives in, can be null or the service itself

Constructor Summary

AccessConstructor and Description
protected
ModuleInstance(Object instance, String identifier, Object service, Object topLevelService)

protected

Method Summary

Modifier and TypeMethod and Description
protected String
protected Object
protected Object
pack-priv synchronized boolean

Returns:

true if the module has been booted, or false otherwise
isBooted
()

Check whether booting of the module has completed.

protected boolean
isTypeAndName(PersistentService serviceType, Class<T> factoryInterface, String otherCanonicalName)

pack-priv synchronized void
setBooted()

Set a flag that indicates that booting of the module has completed.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bootedback to summary
private boolean booted

Flag that tells whether booting of the module has completed.

identifierback to summary
protected String identifier

name of module, can be null

instanceback to summary
protected Object instance

The module instance

serviceback to summary
protected Object service

the actual service to which I belong, could be null.

topLevelServiceback to summary
protected Object topLevelService

the top-level service this module lives in, can be null or the service itself

Constructor Detail

ModuleInstanceback to summary
protected ModuleInstance(Object instance, String identifier, Object service, Object topLevelService)
ModuleInstanceback to summary
protected ModuleInstance(Object instance)

Method Detail

getIdentifierback to summary
protected String getIdentifier()
getInstanceback to summary
protected Object getInstance()
getTopLevelServiceback to summary
protected Object getTopLevelService()
isBootedback to summary
pack-priv synchronized boolean isBooted()

Check whether booting of the module has completed.

Returns:boolean

true if the module has been booted, or false otherwise

isTypeAndNameback to summary
protected boolean isTypeAndName(PersistentService serviceType, Class<T> factoryInterface, String otherCanonicalName)
setBootedback to summary
pack-priv synchronized void setBooted()

Set a flag that indicates that booting of the module has completed.