Package ubic.gemma.web.scheduler
Class SecureMethodInvokingJobDetailFactoryBean
- java.lang.Object
-
- org.springframework.util.MethodInvoker
-
- org.springframework.beans.support.ArgumentConvertingMethodInvoker
-
- org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean
-
- ubic.gemma.web.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:
SecureQuartzJobBean
-
-
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
Constructors Constructor Description SecureMethodInvokingJobDetailFactoryBean(org.springframework.security.core.context.SecurityContext securityContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
invoke()
-
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
-
-
-
-
Method Detail
-
invoke
public Object invoke() throws InvocationTargetException, IllegalAccessException
- Overrides:
invoke
in classorg.springframework.util.MethodInvoker
- Throws:
InvocationTargetException
IllegalAccessException
-
-