org.kuali.rice.ken.core
Class NotificationLifeCycle

java.lang.Object
  extended by org.kuali.rice.core.api.lifecycle.BaseLifecycle
      extended by org.kuali.rice.core.api.lifecycle.LifecycleBean
          extended by org.kuali.rice.ken.core.NotificationLifeCycle
All Implemented Interfaces:
Lifecycle, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class NotificationLifeCycle
extends LifecycleBean
implements org.springframework.beans.factory.BeanFactoryAware

Eager-initializing singleton bean that performs some notification startup operations

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

Constructor Summary
NotificationLifeCycle()
           
 
Method Summary
protected  org.springframework.transaction.support.TransactionTemplate createNewTransaction()
          Helper method for creating a TransactionTemplate initialized to create a new transaction
 void setBeanFactory(org.springframework.beans.factory.BeanFactory theFactory)
           
 void setDataSource(DataSource dataSource)
           
 void setTransactionManager(org.springframework.transaction.PlatformTransactionManager txMgr)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.kuali.rice.core.api.lifecycle.LifecycleBean
afterPropertiesSet, destroy
 
Methods inherited from class org.kuali.rice.core.api.lifecycle.BaseLifecycle
isStarted, setStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationLifeCycle

public NotificationLifeCycle()
Method Detail

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory theFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException
See Also:
BeanFactoryAware.setBeanFactory(org.springframework.beans.factory.BeanFactory)

setTransactionManager

public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager txMgr)

setDataSource

public void setDataSource(DataSource dataSource)

createNewTransaction

protected org.springframework.transaction.support.TransactionTemplate createNewTransaction()
Helper method for creating a TransactionTemplate initialized to create a new transaction

Returns:
a TransactionTemplate initialized to create a new transaction

start

public void start()
           throws Exception
Specified by:
start in interface Lifecycle
Overrides:
start in class BaseLifecycle
Throws:
Exception
See Also:
org.kuali.rice.ken.core.BaseLifecycle#start()

stop

public void stop()
          throws Exception
Specified by:
stop in interface Lifecycle
Overrides:
stop in class BaseLifecycle
Throws:
Exception
See Also:
org.kuali.rice.ken.core.BaseLifecycle#stop()


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