public abstract static class OSGiActivator.WithState extends OSGiActivator
activator that stores bundle state between sessions.OSGiActivator.StateHandler, OSGiActivator.WithStatebundleContext| 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, traceStoppublic WithState(OMBundle bundle)
protected final void doStart()
throws Exception
doStart in class OSGiActivatorExceptionprotected final void doStop()
throws Exception
doStop in class OSGiActivatorExceptionprotected abstract void doStartWithState(Object state) throws Exception
ExceptionCopyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.