Class CacheMediatorActivator
- java.lang.Object
-
- org.wso2.carbon.mediator.cache.ui.CacheMediatorActivator
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class CacheMediatorActivator extends Object implements org.osgi.framework.BundleActivator
Activator class for Cache Mediator
-
-
Constructor Summary
Constructors Constructor Description CacheMediatorActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start(org.osgi.framework.BundleContext bundleContext)
Starts the cache mediator servicevoid
stop(org.osgi.framework.BundleContext bundleContext)
Stops the cache mediator service
-
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext bundleContext) throws Exception
Starts the cache mediator service- Specified by:
start
in interfaceorg.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 interfaceorg.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.
-
-