Package org.kuali.rice.ken.core
Class NotificationLifeCycle
java.lang.Object
org.kuali.rice.core.api.lifecycle.BaseLifecycle
org.kuali.rice.core.api.lifecycle.LifecycleBean
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.transaction.support.TransactionTemplateHelper method for creating a TransactionTemplate initialized to create a new transactionvoidsetBeanFactory(org.springframework.beans.factory.BeanFactory theFactory) voidsetDataSource(DataSource dataSource) voidsetTransactionManager(org.springframework.transaction.PlatformTransactionManager txMgr) voidstart()voidstop()Methods inherited from class org.kuali.rice.core.api.lifecycle.LifecycleBean
afterPropertiesSet, destroyMethods inherited from class org.kuali.rice.core.api.lifecycle.BaseLifecycle
isStarted, setStarted
-
Constructor Details
-
NotificationLifeCycle
public NotificationLifeCycle()
-
-
Method Details
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory theFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException- See Also:
-
setTransactionManager
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager txMgr) -
setDataSource
-
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
- Specified by:
startin interfaceLifecycle- Overrides:
startin classBaseLifecycle- Throws:
Exception- See Also:
-
stop
- Specified by:
stopin interfaceLifecycle- Overrides:
stopin classBaseLifecycle- Throws:
Exception- See Also:
-