fr.imag.adele.bundle.interception.impl
Class Activator
java.lang.Object
fr.imag.adele.bundle.interception.impl.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
- public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator
This activator read configuration properties from a file
and initialize a Producer service with these properties
and register it
- Version:
- __VERSION__ __DATE__
- Author:
- __AUTHOR__
Field Summary |
protected org.osgi.framework.BundleContext |
context
|
protected org.osgi.framework.BundleActivator |
xactivator
|
protected org.osgi.framework.BundleContext |
xcontext
|
Method Summary |
void |
start(org.osgi.framework.BundleContext context)
Called upon starting of the bundle. |
void |
stop(org.osgi.framework.BundleContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected org.osgi.framework.BundleContext context
xcontext
protected org.osgi.framework.BundleContext xcontext
xactivator
protected org.osgi.framework.BundleActivator xactivator
Activator
public Activator()
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Called upon starting of the bundle.
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Parameters:
context
- The bundle context passed by the framework
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception