org.alfresco.repo.workflow.jbpm
Class AlfrescoJobExecutor

java.lang.Object
  extended by org.jbpm.job.executor.JobExecutor
      extended by org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutor
All Implemented Interfaces:
java.io.Serializable

public class AlfrescoJobExecutor
extends org.jbpm.job.executor.JobExecutor

jBPM Job Executor

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.job.executor.JobExecutor
historyMaxSize, hostName, idleInterval, isStarted, lockBufferTime, lockMonitorInterval, lockMonitorThread, maxIdleInterval, maxLockTime, monitoredJobIds, name, nbrOfThreads, threads
 
Constructor Summary
AlfrescoJobExecutor()
          Constructor
 
Method Summary
 boolean getJobExecutorLockEnabled()
          Is Alfresco Job Executor Lock Enabled
 JobLockService getJobLockService()
          Gets Job Lock Service
 TransactionService getTransactionService()
          Gets Transaction Service
 void setJobExecutorLockEnabled(boolean jobExecutorLockEnabled)
           
protected  void startThread()
          
 
Methods inherited from class org.jbpm.job.executor.JobExecutor
addMonitoredJobId, createThread, getHistoryMaxSize, getIdleInterval, getJbpmConfiguration, getLastThreadName, getLockBufferTime, getLockMonitorInterval, getMaxIdleInterval, getMaxLockTime, getMonitoredJobIds, getName, getNbrOfThreads, getNextThreadName, getSize, getThreads, isStarted, removeMonitoredJobId, setHistoryMaxSize, setIdleInterval, setJbpmConfiguration, setLockBufferTime, setLockMonitorInterval, setMaxIdleInterval, setMaxLockTime, setMonitoredJobIds, setName, setNbrOfThreads, setSize, setStarted, setThreads, start, stop, stopAndJoin, stopThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlfrescoJobExecutor

public AlfrescoJobExecutor()
Constructor

Method Detail

setJobExecutorLockEnabled

public void setJobExecutorLockEnabled(boolean jobExecutorLockEnabled)

getJobExecutorLockEnabled

public boolean getJobExecutorLockEnabled()
Is Alfresco Job Executor Lock Enabled

Returns:
true if only one executor thread allowed (including across cluster)
Since:
3.2

getTransactionService

public TransactionService getTransactionService()
Gets Transaction Service

Returns:
transaction service

getJobLockService

public JobLockService getJobLockService()
Gets Job Lock Service

Returns:
job lock service
Since:
3.2

startThread

protected void startThread()

Overrides:
startThread in class org.jbpm.job.executor.JobExecutor


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.