Package com.atlassian.sal.jira.executor
Class JiraThreadLocalDelegateExecutorFactory
java.lang.Object
com.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
com.atlassian.sal.jira.executor.JiraThreadLocalDelegateExecutorFactory
- All Implemented Interfaces:
com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory
,org.springframework.beans.factory.DisposableBean
public class JiraThreadLocalDelegateExecutorFactory
extends com.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
implements org.springframework.beans.factory.DisposableBean
Instance of the delegate executor factory tailored to JIRA
-
Constructor Summary
ConstructorsConstructorDescriptionJiraThreadLocalDelegateExecutorFactory
(JiraAuthenticationContext authenticationContext, VelocityRequestContextFactory velocityRequestContextFactory, JiraTenantContext tenantContext, SpanningOperationHolder spanningOperationHolder, ScopesRequestCacheDelegate scopesRequestCacheDelegate) -
Method Summary
Methods inherited from class com.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory
createCallable, createExecutor, createRunnable
-
Constructor Details
-
JiraThreadLocalDelegateExecutorFactory
public JiraThreadLocalDelegateExecutorFactory(JiraAuthenticationContext authenticationContext, VelocityRequestContextFactory velocityRequestContextFactory, JiraTenantContext tenantContext, SpanningOperationHolder spanningOperationHolder, ScopesRequestCacheDelegate scopesRequestCacheDelegate)
-
-
Method Details
-
createExecutorService
- Specified by:
createExecutorService
in interfacecom.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory
- Overrides:
createExecutorService
in classcom.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
-
createScheduledExecutorService
- Specified by:
createScheduledExecutorService
in interfacecom.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory
- Overrides:
createScheduledExecutorService
in classcom.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
-
destroy
public void destroy()- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
-