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
Methods inherited from class com.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory |
createCallable, createExecutor, createRunnable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraThreadLocalDelegateExecutorFactory
public JiraThreadLocalDelegateExecutorFactory(JiraAuthenticationContext authenticationContext,
VelocityRequestContextFactory velocityRequestContextFactory)
createExecutorService
public ExecutorService createExecutorService(ExecutorService delegate)
- Specified by:
createExecutorService
in interface com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory
- Overrides:
createExecutorService
in class com.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
createScheduledExecutorService
public ScheduledExecutorService createScheduledExecutorService(ScheduledExecutorService delegate)
- Specified by:
createScheduledExecutorService
in interface com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory
- Overrides:
createScheduledExecutorService
in class com.atlassian.sal.core.executor.DefaultThreadLocalDelegateExecutorFactory<com.atlassian.sal.jira.executor.JiraThreadLocalContextManager.JiraThreadLocalContext>
destroy
public void destroy()
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
Copyright © 2002-2014 Atlassian. All Rights Reserved.