Class SecureQuartzJobBean

java.lang.Object
org.springframework.scheduling.quartz.QuartzJobBean
ubic.gemma.core.scheduler.SecureQuartzJobBean
All Implemented Interfaces:
org.quartz.Job
Direct Known Subclasses:
BatchInfoRepopulationJob, Ee2AdUpdateJob, Ee2cUpdateJob

public abstract class SecureQuartzJobBean extends org.springframework.scheduling.quartz.QuartzJobBean
A secure Quartz job bean that executes with a given security context.
Author:
poirigui
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
    executeAs(org.quartz.JobExecutionContext context)
     
    protected final void
    executeInternal(org.quartz.JobExecutionContext context)
     
    void
    setSecurityContext(org.springframework.security.core.context.SecurityContext securityContext)
     

    Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean

    execute

    Methods inherited from class java.lang.Object

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

    • SecureQuartzJobBean

      public SecureQuartzJobBean()
  • Method Details

    • executeInternal

      protected final void executeInternal(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
      Specified by:
      executeInternal in class org.springframework.scheduling.quartz.QuartzJobBean
      Throws:
      org.quartz.JobExecutionException
    • executeAs

      protected abstract void executeAs(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
      Throws:
      org.quartz.JobExecutionException
    • setSecurityContext

      public void setSecurityContext(org.springframework.security.core.context.SecurityContext securityContext)