org.kuali.rice.ksb.messaging.quartz
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)
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
logger |
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 |
QuartzConfigPropertiesFactoryBean
public QuartzConfigPropertiesFactoryBean()
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
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.