org.jbpm.executor.impl
Class ExecutorImpl
java.lang.Object
org.jbpm.executor.impl.ExecutorImpl
- All Implemented Interfaces:
- Executor, Service
public class ExecutorImpl
- extends Object
- implements Executor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutorImpl
public ExecutorImpl()
setPm
public void setPm(JbpmServicesPersistenceManager pm)
setExecutorRunnable
public void setExecutorRunnable(ExecutorRunnable runnableTask)
setRequestEvents
public void setRequestEvents(javax.enterprise.event.Event<RequestInfo> requestEvents)
setQueryService
public void setQueryService(ExecutorQueryService queryService)
getInterval
public int getInterval()
- Specified by:
getInterval
in interface Executor
setInterval
public void setInterval(int interval)
- Specified by:
setInterval
in interface Executor
getRetries
public int getRetries()
- Specified by:
getRetries
in interface Executor
setRetries
public void setRetries(int retries)
- Specified by:
setRetries
in interface Executor
getThreadPoolSize
public int getThreadPoolSize()
- Specified by:
getThreadPoolSize
in interface Executor
setThreadPoolSize
public void setThreadPoolSize(int threadPoolSize)
- Specified by:
setThreadPoolSize
in interface Executor
init
public void init()
- Specified by:
init
in interface Service
scheduleRequest
public Long scheduleRequest(String commandId,
CommandContext ctx)
- Specified by:
scheduleRequest
in interface Executor
scheduleRequest
public Long scheduleRequest(String commandId,
Date date,
CommandContext ctx)
- Specified by:
scheduleRequest
in interface Executor
cancelRequest
public void cancelRequest(Long requestId)
- Specified by:
cancelRequest
in interface Executor
destroy
public void destroy()
- Specified by:
destroy
in interface Service
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.