org.kuali.rice.core.api.lifecycle
Class BaseLifecycle

java.lang.Object
  extended by org.kuali.rice.core.api.lifecycle.BaseLifecycle
All Implemented Interfaces:
Lifecycle
Direct Known Subclasses:
BaseCompositeLifecycle, BaseOjbConfigurer, ClearDatabaseLifecycle, KEWXmlDataLoaderLifecycle, LifecycleBean, ResourceLoaderContainer, ServiceBusImpl, ServiceDelegatingLifecycle, SimpleServiceLocator, SQLDataLoaderLifecycle, XmlPipelineLifeCycle

public abstract class BaseLifecycle
extends Object
implements Lifecycle

An abstract superclass to aid in implementing lifeycles.

Author:
Kuali Rice Team (rice.collab@kuali.org)

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

Constructor Detail

BaseLifecycle

public BaseLifecycle()
Method Detail

isStarted

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

start

public void start()
           throws Exception
Specified by:
start in interface Lifecycle
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Lifecycle
Throws:
Exception

setStarted

protected void setStarted(boolean started)


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.