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
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectprotected booleanpropertyShouldBeFiltered(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
-
Constructor Details
-
QuartzConfigPropertiesFactoryBean
public QuartzConfigPropertiesFactoryBean()
-
-
Method Details
-
createInstance
- Specified by:
createInstancein classorg.springframework.beans.factory.config.AbstractFactoryBean- Throws:
Exception
-
propertyShouldBeFiltered
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
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean- Specified by:
getObjectTypein classorg.springframework.beans.factory.config.AbstractFactoryBean
-