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(java.lang.Object state) |
protected void |
doStop() |
protected abstract java.lang.Object |
doStopWithState() |
clone, equals, getOMBundle, hashCode, start, start, stop, stop, toString, traceStart, traceStoppublic WithState(OMBundle bundle)
protected final void doStart()
throws java.lang.Exception
doStart in class OSGiActivatorjava.lang.Exceptionprotected final void doStop()
throws java.lang.Exception
doStop in class OSGiActivatorjava.lang.Exceptionprotected abstract void doStartWithState(java.lang.Object state)
throws java.lang.Exception
java.lang.Exceptionprotected abstract java.lang.Object doStopWithState()
throws java.lang.Exception
java.lang.ExceptionCopyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html