public class AsynchronousActionExecutionQueueImpl extends java.lang.Object implements AsynchronousActionExecutionQueue
| Modifier and Type | Class and Description |
|---|---|
class |
AsynchronousActionExecutionQueueImpl.CallbackTransactionListener
Transaction listener used to invoke callback policies
|
| Constructor and Description |
|---|
AsynchronousActionExecutionQueueImpl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeAction(RuntimeActionService actionService,
Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef,
boolean checkConditions,
java.util.Set actionChain) |
void |
executeAction(RuntimeActionService actionService,
Action action,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef,
boolean checkConditions,
java.util.Set actionChain,
org.alfresco.service.cmr.repository.NodeRef actionExecutionHistoryNodeRef) |
void |
init()
Init method.
|
void |
registerActionFilter(AbstractAsynchronousActionFilter filter)
This method registers an action filter, which can be used to prevent unwanted or unnecessary
asynchronous actions from being scheduled for execution.
|
void |
setAuthenticationContext(AuthenticationContext authenticationContext)
Deprecated.
Not used since 3.4
|
void |
setPolicyComponent(PolicyComponent policyComponent)
Set the policy component
|
void |
setThreadPoolExecutor(java.util.concurrent.ThreadPoolExecutor threadPoolExecutor)
Set the thread pool, which may be shared with other components, that will be used
to run the actions.
|
void |
setTransactionService(TransactionService transactionService)
Set the transaction service
|
public AsynchronousActionExecutionQueueImpl()
public void init()
public void setThreadPoolExecutor(java.util.concurrent.ThreadPoolExecutor threadPoolExecutor)
threadPoolExecutor - the thread poolpublic void setTransactionService(TransactionService transactionService)
transactionService - the transaction servicepublic void setAuthenticationContext(AuthenticationContext authenticationContext)
public void setPolicyComponent(PolicyComponent policyComponent)
policyComponent - policy componentpublic void registerActionFilter(AbstractAsynchronousActionFilter filter)
filter - the filter implementation.public void executeAction(RuntimeActionService actionService, Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef, boolean checkConditions, java.util.Set actionChain)
executeAction in interface AsynchronousActionExecutionQueuepublic void executeAction(RuntimeActionService actionService, Action action, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef, boolean checkConditions, java.util.Set actionChain, org.alfresco.service.cmr.repository.NodeRef actionExecutionHistoryNodeRef)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.