OPS4J Pax Swissbox :: Lifecycle 1.3.1-redhat-1

org.ops4j.pax.swissbox.lifecycle
Class AbstractLifecycle

java.lang.Object
  extended by org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle
All Implemented Interfaces:
Lifecycle

public abstract class AbstractLifecycle
extends Object
implements Lifecycle


Constructor Summary
protected AbstractLifecycle()
           
 
Method Summary
 boolean isStarted()
           
protected abstract  void onStart()
           
protected abstract  void onStop()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLifecycle

protected AbstractLifecycle()
Method Detail

start

public void start()
Specified by:
start in interface Lifecycle

stop

public void stop()
Specified by:
stop in interface Lifecycle

isStarted

public boolean isStarted()
Specified by:
isStarted in interface Lifecycle

onStart

protected abstract void onStart()

onStop

protected abstract void onStop()

OPS4J Pax Swissbox :: Lifecycle 1.3.1-redhat-1

Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.