Class CacheMediatorActivator

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public class CacheMediatorActivator
    extends Object
    implements org.osgi.framework.BundleActivator
    Activator class for Cache Mediator
    • Constructor Detail

      • CacheMediatorActivator

        public CacheMediatorActivator()
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext bundleContext)
                   throws Exception
        Starts the cache mediator service
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Parameters:
        bundleContext - the execution context of the bundle being started.
        Throws:
        Exception - If this method throws an exception, this bundle is marked as stopped and the Framework will remove this bundle's listeners, unregister all services registered by this bundle, and release all services used by this bundle.
      • stop

        public void stop​(org.osgi.framework.BundleContext bundleContext)
                  throws Exception
        Stops the cache mediator service
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Parameters:
        bundleContext - the execution context of the bundle being stopped.
        Throws:
        Exception - If this method throws an exception, the bundle is still marked as stopped, and the Framework will remove the bundle's listeners, unregister all services registered by the bundle, and release all services used by the bundle.