Class ModuleInstance

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

class ModuleInstance extends Object
A description of an instance of a module.
  • Field Details

    • instance

      protected Object instance
      The module instance
    • identifier

      protected String identifier
      name of module, can be null
    • topLevelService

      protected Object topLevelService
      the top-level service this module lives in, can be null or the service itself
    • service

      protected 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 Details

    • ModuleInstance

      protected ModuleInstance(Object instance, String identifier, Object service, Object topLevelService)
    • ModuleInstance

      protected ModuleInstance(Object instance)
  • Method Details

    • isTypeAndName

      protected boolean isTypeAndName(PersistentService serviceType, Class factoryInterface, String otherCanonicalName)
    • getIdentifier

      protected String getIdentifier()
    • getTopLevelService

      protected Object getTopLevelService()
    • getInstance

      protected 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