public abstract class AbstractJob
extends org.springframework.scheduling.quartz.QuartzJobBean
implements com.opensymphony.xwork.LocaleProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SESSION_FACTORY_BEAN_NAME |
protected java.util.List |
textProviders |
| Constructor and Description |
|---|
AbstractJob() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssociatedActionForResources(java.lang.Class actionClass) |
protected boolean |
allowConcurrentExecution() |
abstract void |
doExecute(org.quartz.JobExecutionContext jobExecutionContext) |
void |
executeInternal(org.quartz.JobExecutionContext jobExecutionContext) |
java.util.Locale |
getLocale() |
java.util.ResourceBundle |
getResourceBundle()
This is a template method that can be used by extending classes to associate a ResourceBundle with the job.
|
java.lang.String |
getText(java.lang.String textName) |
java.lang.String |
getText(java.lang.String textName,
java.util.List args) |
void |
setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfig) |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory) |
public static final java.lang.String DEFAULT_SESSION_FACTORY_BEAN_NAME
protected java.util.List textProviders
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
public void setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfig)
public final void executeInternal(org.quartz.JobExecutionContext jobExecutionContext)
throws org.quartz.JobExecutionException
executeInternal in class org.springframework.scheduling.quartz.QuartzJobBeanorg.quartz.JobExecutionExceptionpublic abstract void doExecute(org.quartz.JobExecutionContext jobExecutionContext)
throws org.quartz.JobExecutionException
org.quartz.JobExecutionExceptionpublic java.util.ResourceBundle getResourceBundle()
protected boolean allowConcurrentExecution()
public java.util.Locale getLocale()
getLocale in interface com.opensymphony.xwork.LocaleProviderpublic java.lang.String getText(java.lang.String textName)
public java.lang.String getText(java.lang.String textName,
java.util.List args)
public void addAssociatedActionForResources(java.lang.Class actionClass)
Copyright © 2014 Atlassian. All Rights Reserved.