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:
createExecutorServicein interfacecom.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory- Overrides:
createExecutorServicein classcom.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
-
createScheduledExecutorService
- Specified by:
createScheduledExecutorServicein interfacecom.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory- Overrides:
createScheduledExecutorServicein classcom.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-