org.apache.derby.impl.services.monitor
Class ModuleInstance

java.lang.Object
  extended by org.apache.derby.impl.services.monitor.ModuleInstance

 class ModuleInstance
extends java.lang.Object

A description of an instance of a module.


Field Summary
private  boolean booted
          Flag that tells whether booting of the module has completed.
protected  java.lang.String identifier
          name of module, can be null
protected  java.lang.Object instance
          The module instance
protected  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
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
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Constructor Detail

ModuleInstance

protected ModuleInstance(java.lang.Object instance,
                         java.lang.String identifier,
                         java.lang.Object service,
                         java.lang.Object topLevelService)

ModuleInstance

protected ModuleInstance(java.lang.Object instance)
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, or false otherwise

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.