org.kuali.rice.ken.core
Class LifecycleBean

java.lang.Object
  extended by org.kuali.rice.ken.core.BaseLifecycle
      extended by org.kuali.rice.ken.core.LifecycleBean
All Implemented Interfaces:
Lifecycle, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
NotificationLifeCycle

public class LifecycleBean
extends BaseLifecycle
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

A Lifecycle subclass that wires Spring InitializingBean/DisposableBean to Lifecycle methods

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

Constructor Summary
LifecycleBean()
           
 
Method Summary
 void afterPropertiesSet()
          Calls start() on the lifecycle.
 void destroy()
          Calls stop() on the lifecycle.
 
Methods inherited from class org.kuali.rice.ken.core.BaseLifecycle
isStarted, setStarted, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleBean

public LifecycleBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Calls start() on the lifecycle.

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception
See Also:
InitializingBean.afterPropertiesSet()

destroy

public void destroy()
             throws Exception
Calls stop() on the lifecycle.

Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception
See Also:
DisposableBean.destroy()


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.