public abstract static class OSGiActivator.WithState extends OSGiActivator
activator
that stores bundle state
between sessions.OSGiActivator.StateHandler, OSGiActivator.WithState
bundleContext
Constructor and Description |
---|
OSGiActivator.WithState(OMBundle bundle) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected abstract void |
doStartWithState(Object state) |
protected void |
doStop() |
protected abstract Object |
doStopWithState() |
clone, equals, getOMBundle, hashCode, start, start, stop, stop, toString, traceStart, traceStop
public OSGiActivator.WithState(OMBundle bundle)
protected final void doStart() throws Exception
doStart
in class OSGiActivator
Exception
protected final void doStop() throws Exception
doStop
in class OSGiActivator
Exception
protected abstract void doStartWithState(Object state) throws Exception
Exception
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.