Class QuartzConfigPropertiesFactoryBean

java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean
org.kuali.rice.ksb.messaging.quartz.QuartzConfigPropertiesFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class QuartzConfigPropertiesFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean
A factory bean which reads quartz-related properties from the Config system and generates a Properites instance for use when configuration quartz.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Summary

    Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    logger

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
     
     
    protected boolean
    propertyShouldBeFiltered(boolean useQuartzDatabase, String propertyName)
    When we aren't using the quartz database, prevents some of the parameters for quartz database mode from being passed to quartz.

    Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean

    afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • QuartzConfigPropertiesFactoryBean

      public QuartzConfigPropertiesFactoryBean()
  • Method Details

    • createInstance

      protected Object createInstance() throws Exception
      Specified by:
      createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
      Throws:
      Exception
    • propertyShouldBeFiltered

      protected boolean propertyShouldBeFiltered(boolean useQuartzDatabase, String propertyName)
      When we aren't using the quartz database, prevents some of the parameters for quartz database mode from being passed to quartz. If we pass these to quartz when it's using a RAMJobStore, we get an error. So in order to allow us to provide good defaults in common-config-defaults.xml, we will filter these out if useQuartzDatabase=false
    • getObjectType

      public Class getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean
      Specified by:
      getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean