public class JiraThreadLocalDelegateExecutorFactory
extends com.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
implements org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
JiraThreadLocalDelegateExecutorFactory(JiraAuthenticationContext authenticationContext,
VelocityRequestContextFactory velocityRequestContextFactory,
JiraTenantContext tenantContext,
SpanningOperationHolder spanningOperationHolder) |
Modifier and Type | Method and Description |
---|---|
ExecutorService |
createExecutorService(ExecutorService delegate) |
ScheduledExecutorService |
createScheduledExecutorService(ScheduledExecutorService delegate) |
void |
destroy() |
public JiraThreadLocalDelegateExecutorFactory(JiraAuthenticationContext authenticationContext, VelocityRequestContextFactory velocityRequestContextFactory, JiraTenantContext tenantContext, SpanningOperationHolder spanningOperationHolder)
public ExecutorService createExecutorService(ExecutorService delegate)
createExecutorService
in interface com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory
createExecutorService
in class com.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
public ScheduledExecutorService createScheduledExecutorService(ScheduledExecutorService delegate)
createScheduledExecutorService
in interface com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory
createScheduledExecutorService
in class com.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
public void destroy()
destroy
in interface org.springframework.beans.factory.DisposableBean
Copyright © 2002-2019 Atlassian. All Rights Reserved.