org.kuali.rice.kcb.config
Class KCBInitializer

java.lang.Object
  extended by 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 Summary
protected  org.quartz.Scheduler scheduler
           
 
Constructor Summary
KCBInitializer()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 org.quartz.Scheduler getScheduler()
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 void setMessageProcessingJobDetail(org.quartz.JobDetail messageProcessingJobDetail)
          Sets the JobDetail for the message processing job
 void setMessageProcessingTrigger(org.quartz.Trigger messageProcessingTrigger)
          Sets the Trigger for the message processing job
 void setScheduler(org.quartz.Scheduler scheduler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scheduler

protected org.quartz.Scheduler scheduler
Constructor Detail

KCBInitializer

public KCBInitializer()
Method Detail

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
See Also:
BeanFactoryAware.setBeanFactory(org.springframework.beans.factory.BeanFactory)

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
See Also:
InitializingBean.afterPropertiesSet()

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


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