站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.1.3 API 英文版文档

CommandExecutorThread (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档


org.jbpm.msg.command
Class CommandExecutorThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.jbpm.msg.command.CommandExecutorThread
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class CommandExecutorThread
extends java.lang.Thread
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static java.lang.String DEFAULT_COMMAND_EXECUTOR_CONTEXT_NAME
           
static java.lang.String DEFAULT_ERROR_DESTINATION
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CommandExecutorThread(JbpmConfiguration jbpmConfiguration)
           
 
Method Summary
 boolean executeCommand()
           
 void quit()
           
 void run()
           
 void setDestination(java.lang.String destination)
           
 void setErrorDestination(java.lang.String errorDestination)
           
 void setInterval(int interval)
           
 void setJbpmConfiguration(JbpmConfiguration jbpmConfiguration)
           
 void setJbpmContextName(java.lang.String jbpmContextName)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_COMMAND_EXECUTOR_CONTEXT_NAME

public static final java.lang.String DEFAULT_COMMAND_EXECUTOR_CONTEXT_NAME
See Also:
Constant Field Values

DEFAULT_ERROR_DESTINATION

public static final java.lang.String DEFAULT_ERROR_DESTINATION
See Also:
Constant Field Values
Constructor Detail

CommandExecutorThread

public CommandExecutorThread(JbpmConfiguration jbpmConfiguration)
Method Detail

setDestination

public void setDestination(java.lang.String destination)

setErrorDestination

public void setErrorDestination(java.lang.String errorDestination)

setJbpmConfiguration

public void setJbpmConfiguration(JbpmConfiguration jbpmConfiguration)

setJbpmContextName

public void setJbpmContextName(java.lang.String jbpmContextName)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

quit

public void quit()

executeCommand

public boolean executeCommand()
                       throws java.lang.Exception
Throws:
java.lang.Exception

setInterval

public void setInterval(int interval)


Version : jbpm-3.1.3