|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.action.AsynchronousActionExecutionQueueImpl
public class AsynchronousActionExecutionQueueImpl
The asynchronous action execution queue implementation
Nested Class Summary | |
---|---|
class |
AsynchronousActionExecutionQueueImpl.CallbackTransactionListener
Transaction listener used to invoke callback policies |
Constructor Summary | |
---|---|
AsynchronousActionExecutionQueueImpl()
Default constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsynchronousActionExecutionQueueImpl()
Method Detail |
---|
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 AsynchronousActionExecutionQueue
public 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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |