eu.esdihumboldt.hale.server.internal
Class Activator
java.lang.Object
eu.esdihumboldt.hale.server.internal.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator
Main server bundle activator.
- Author:
- Andreas Burchert, Simon Templer
Field Summary |
static String |
ID
Bundle name |
Method Summary |
static org.osgi.framework.BundleContext |
getContext()
Get the bundle context. |
void |
start(org.osgi.framework.BundleContext bundleContext)
|
void |
stop(org.osgi.framework.BundleContext bundleContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- Bundle name
- See Also:
- Constant Field Values
Activator
public Activator()
getContext
public static org.osgi.framework.BundleContext getContext()
- Get the bundle context.
- Returns:
- the bundle context if the bundle was activated, otherwise
null
start
public void start(org.osgi.framework.BundleContext bundleContext)
throws Exception
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext bundleContext)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d