public abstract static class OSGiActivator.WithState extends OSGiActivator
activator
that stores bundle state
between sessions.OSGiActivator.StateHandler, OSGiActivator.WithState
bundleContext
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, traceStop
public WithState(OMBundle bundle)
protected final void doStart() throws java.lang.Exception
doStart
in class OSGiActivator
java.lang.Exception
protected final void doStop() throws java.lang.Exception
doStop
in class OSGiActivator
java.lang.Exception
protected abstract void doStartWithState(java.lang.Object state) throws java.lang.Exception
java.lang.Exception
protected abstract java.lang.Object doStopWithState() throws java.lang.Exception
java.lang.Exception
Copyright (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