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:
org.kuali.rice.core.api.lifecycle.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 org.kuali.rice.core.api.lifecycle.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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.transaction.support.TransactionTemplate
    Helper method for creating a TransactionTemplate initialized to create a new transaction
    void
    setBeanFactory(org.springframework.beans.factory.BeanFactory theFactory)
     
    void
     
    void
    setTransactionManager(org.springframework.transaction.PlatformTransactionManager txMgr)
     
    void
     
    void
     

    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 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 org.kuali.rice.core.api.lifecycle.Lifecycle
      Overrides:
      start in class org.kuali.rice.core.api.lifecycle.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 org.kuali.rice.core.api.lifecycle.Lifecycle
      Overrides:
      stop in class org.kuali.rice.core.api.lifecycle.BaseLifecycle
      Throws:
      Exception
      See Also:
      • invalid reference
        org.kuali.rice.ken.core.BaseLifecycle#stop()