Class Activator

java.lang.Object
org.apache.geronimo.osgi.registry.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator extends Object implements org.osgi.framework.BundleActivator
The activator that starts and manages the life-cycle of the class factory registry.
  • Field Details

    • bt

      protected org.osgi.util.tracker.BundleTracker bt
    • lst

      protected org.osgi.util.tracker.ServiceTracker lst
    • registry

      protected ProviderRegistryImpl registry
    • registryRegistration

      protected org.osgi.framework.ServiceRegistration registryRegistration
    • context

      protected org.osgi.framework.BundleContext context
    • logServices

      List<org.osgi.service.log.LogService> logServices
  • Constructor Details

    • Activator

      public Activator()
  • Method Details

    • start

      public void start(org.osgi.framework.BundleContext context) throws Exception
      Specified by:
      start in interface org.osgi.framework.BundleActivator
      Throws:
      Exception
    • stop

      public void stop(org.osgi.framework.BundleContext context) throws Exception
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Throws:
      Exception
    • log

      void log(int level, String message)
    • log

      void log(int level, String message, Throwable th)