Class KCBInitializer

java.lang.Object
org.kuali.rice.kcb.config.KCBInitializer
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class KCBInitializer extends Object implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Initializing bean that initializes KCB (specifically the GlobalKCBServiceLocator) on Spring context initialization. This bean should be eagerly initialized (not marked lazy)
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Details

    • scheduler

      protected org.quartz.Scheduler scheduler
  • Constructor Details

    • KCBInitializer

      public KCBInitializer()
  • Method Details

    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Throws:
      org.springframework.beans.BeansException
    • setMessageProcessingTrigger

      public void setMessageProcessingTrigger(org.quartz.Trigger messageProcessingTrigger)
      Sets the Trigger for the message processing job
      Parameters:
      messageProcessingTrigger - the Trigger for the message processing job
    • setMessageProcessingJobDetail

      public void setMessageProcessingJobDetail(org.quartz.JobDetail messageProcessingJobDetail)
      Sets the JobDetail for the message processing job
      Parameters:
      messageProcessingJobDetail - the JobDetail for the message processing job
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • destroy

      public void destroy() throws Exception
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Throws:
      Exception
    • getScheduler

      public org.quartz.Scheduler getScheduler()
      Returns:
      the scheduler
    • setScheduler

      public void setScheduler(org.quartz.Scheduler scheduler)
      Parameters:
      scheduler - the scheduler to set