Class DiscoveryServiceActivator

java.lang.Object
org.jolokia.service.discovery.osgi.DiscoveryServiceActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class DiscoveryServiceActivator extends Object implements org.osgi.framework.BundleActivator
Simple activator for creating a JMX request handler. Note that the lifecycle of the created beans (i.e. init() and destroy()) is handled by the JolokiaServiceManager, the OSGi lifecycle is only used for creating the service objects (but no other lifecycle stuff).
Since:
02.03.14
Author:
roland
  • Constructor Details

    • DiscoveryServiceActivator

      public DiscoveryServiceActivator()
  • 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