Class 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 Details

    • NotificationLifeCycle

      public NotificationLifeCycle()
  • Method Details

    • 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:
      • invalid reference
        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:
      • invalid reference
        org.kuali.rice.ken.core.BaseLifecycle#stop()