no.ubicollab.osgi
Class Activator
java.lang.Object
no.ubicollab.osgi.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class Activator
- extends java.lang.Object
- implements org.osgi.framework.BundleActivator
The Class Activator
contains the start and stop members, which is used
by the framework to start/activate and stop/deactivate this bundle (and thus the
Service Domain Manager).
This bundle provides management functionality for services/bundles and will provide
a SOAP/Web-Service interface.
- Since:
- 0.1
- Version:
- 0.2
- Author:
- Kim-Steve Johansen
Method Summary |
void |
start(org.osgi.framework.BundleContext bc)
This method is invoked by the framework to start the bundle and its service |
void |
stop(org.osgi.framework.BundleContext bc)
This method is invoked by the framework to stop the bundle and its service. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Activator
public Activator()
start
public void start(org.osgi.framework.BundleContext bc)
throws org.osgi.framework.BundleException
- This method is invoked by the framework to start the bundle and its service
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Parameters:
bc
- A refrence to the Frameworks BundleContext
- Throws:
org.osgi.framework.BundleException
- See Also:
BundleActivator.start(org.osgi.framework.BundleContext)
stop
public void stop(org.osgi.framework.BundleContext bc)
throws org.osgi.framework.BundleException
- This method is invoked by the framework to stop the bundle and its service.
All resources used is released to the garbage collector.
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Parameters:
bc
- A refrence to the Frameworks BundleContext
- Throws:
org.osgi.framework.BundleException
- See Also:
BundleActivator.start(org.osgi.framework.BundleContext)