Package org.eclipse.net4j.util.om
Class OSGiActivator.WithState
java.lang.Object
org.eclipse.net4j.util.om.OSGiActivator
org.eclipse.net4j.util.om.OSGiActivator.WithState
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
- Enclosing class:
- OSGiActivator
An OSGi
activator
that stores bundle state
between sessions.- Since:
- 3.1
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.net4j.util.om.OSGiActivator
OSGiActivator.StateHandler, OSGiActivator.WithState
-
Field Summary
Fields inherited from class org.eclipse.net4j.util.om.OSGiActivator
bundleContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final void
doStart()
protected abstract void
doStartWithState
(Object state) protected final void
doStop()
protected abstract Object
Methods inherited from class org.eclipse.net4j.util.om.OSGiActivator
clone, equals, getOMBundle, hashCode, start, start, stop, stop, toString, traceStart, traceStop
-
Constructor Details
-
WithState
-
-
Method Details
-
doStart
- Overrides:
doStart
in classOSGiActivator
- Throws:
Exception
-
doStop
- Overrides:
doStop
in classOSGiActivator
- Throws:
Exception
-
doStartWithState
- Throws:
Exception
-
doStopWithState
- Throws:
Exception
-