
public abstract class OSGiActivator extends Object implements org.osgi.framework.BundleActivator
bundle activator for OM bundles.| Modifier and Type | Class and Description |
|---|---|
static class |
OSGiActivator.StateHandler
Saves and loads
bundle state. |
static class |
OSGiActivator.WithState
An OSGi
activator that stores bundle state between sessions. |
| Modifier and Type | Field and Description |
|---|---|
protected org.osgi.framework.BundleContext |
bundleContext |
| Constructor and Description |
|---|
OSGiActivator(OMBundle omBundle) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
protected void |
doStart() |
protected void |
doStop() |
boolean |
equals(Object obj) |
OMBundle |
getOMBundle() |
int |
hashCode() |
void |
start(org.osgi.framework.BundleContext context) |
static void |
start(OMBundle bundle) |
void |
stop(org.osgi.framework.BundleContext context) |
static void |
stop(OMBundle bundle) |
String |
toString() |
static void |
traceStart(org.osgi.framework.BundleContext context) |
static void |
traceStop(org.osgi.framework.BundleContext context) |
public OSGiActivator(OMBundle omBundle)
public final OMBundle getOMBundle()
public final void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionpublic final void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorExceptionprotected final Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic static void traceStart(org.osgi.framework.BundleContext context)
public static void traceStop(org.osgi.framework.BundleContext context)
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.