Package ubic.gemma.core.scheduler
Class SecureMethodInvokingJobDetailFactoryBean
java.lang.Object
org.springframework.util.MethodInvoker
org.springframework.beans.support.ArgumentConvertingMethodInvoker
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean
ubic.gemma.core.scheduler.SecureMethodInvokingJobDetailFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.FactoryBean<org.quartz.JobDetail>
,org.springframework.beans.factory.InitializingBean
public class SecureMethodInvokingJobDetailFactoryBean
extends org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean
Specialization of Spring task-running support so task threads have secure context (without using MODE_GLOBAL!). The
thread where Quartz is being run is authenticated as GROUP_AGENT.
- Author:
- paul
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.MethodInvokingJob, org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.StatefulMethodInvokingJob
-
Constructor Summary
ConstructorsConstructorDescriptionSecureMethodInvokingJobDetailFactoryBean
(org.springframework.security.core.context.SecurityContext securityContext) -
Method Summary
Methods inherited from class org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean
afterPropertiesSet, getObject, getObjectType, getTargetClass, getTargetObject, isSingleton, postProcessJobDetail, resolveClassName, setBeanClassLoader, setBeanFactory, setBeanName, setConcurrent, setGroup, setJobListenerNames, setName, setTargetBeanName
Methods inherited from class org.springframework.beans.support.ArgumentConvertingMethodInvoker
doFindMatchingMethod, findMatchingMethod, getDefaultTypeConverter, getTypeConverter, registerCustomEditor, setTypeConverter
Methods inherited from class org.springframework.util.MethodInvoker
getArguments, getPreparedMethod, getTargetMethod, getTypeDifferenceWeight, isPrepared, prepare, setArguments, setStaticMethod, setTargetClass, setTargetMethod, setTargetObject
-
Constructor Details
-
SecureMethodInvokingJobDetailFactoryBean
public SecureMethodInvokingJobDetailFactoryBean(org.springframework.security.core.context.SecurityContext securityContext)
-
-
Method Details
-
invoke
- Overrides:
invoke
in classorg.springframework.util.MethodInvoker
- Throws:
InvocationTargetException
IllegalAccessException
-