org.eclipse.net4j.util.om
Class OSGiActivator.StateHandler

java.lang.Object
  extended by org.eclipse.net4j.util.om.OSGiActivator.StateHandler
Enclosing class:
OSGiActivator

public abstract static class OSGiActivator.StateHandler
extends Object

Saves and loads bundle state.

Since:
3.1

Constructor Summary
OSGiActivator.StateHandler(OMBundle bundle)
           
 
Method Summary
 void start()
           
protected abstract  void startWithState(Object state)
           
 void stop()
           
protected abstract  Object stopWithState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiActivator.StateHandler

public OSGiActivator.StateHandler(OMBundle bundle)
Method Detail

start

public final void start()
                 throws Exception
Throws:
Exception

stop

public final void stop()
                throws Exception
Throws:
Exception

startWithState

protected abstract void startWithState(Object state)
                                throws Exception
Throws:
Exception

stopWithState

protected abstract Object stopWithState()
                                 throws Exception
Throws:
Exception


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.