|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.workmanager.WorkManagerImpl
public class WorkManagerImpl

The work manager implementation.
| Field Summary |
|---|
| Fields inherited from interface javax.resource.spi.work.WorkManager |
|---|
IMMEDIATE, INDEFINITE, UNKNOWN |
| Constructor Summary | |
|---|---|
WorkManagerImpl()
Constructor - by default the WorkManager is running in spec-compliant mode |
|
| Method Summary | |
|---|---|
org.jboss.jca.core.api.workmanager.WorkManager |
clone()
Clone the WorkManager implementation |
void |
doWork(javax.resource.spi.work.Work work)
|
void |
doWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
|
org.jboss.jca.core.spi.security.Callback |
getCallbackSecurity()
Get the callback security module |
org.jboss.threads.BlockingExecutor |
getLongRunningThreadPool()
Retrieve the executor for long running tasks |
org.jboss.threads.BlockingExecutor |
getShortRunningThreadPool()
Retrieve the executor for short running tasks |
org.jboss.jca.core.spi.transaction.xa.XATerminator |
getXATerminator()
Get the XATerminator |
boolean |
isShutdown()
|
boolean |
isSpecCompliant()
Is spec compliant |
void |
prepareShutdown()
|
void |
scheduleWork(javax.resource.spi.work.Work work)
|
void |
scheduleWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
|
void |
setCallbackSecurity(org.jboss.jca.core.spi.security.Callback v)
Set callback security module |
void |
setLongRunningThreadPool(org.jboss.threads.BlockingExecutor executor)
Set the executor for long running tasks |
void |
setShortRunningThreadPool(org.jboss.threads.BlockingExecutor executor)
Set the executor for short running tasks |
void |
setSpecCompliant(boolean v)
Set spec compliant flag |
void |
setXATerminator(org.jboss.jca.core.spi.transaction.xa.XATerminator xaTerminator)
Set the XATerminator |
void |
shutdown()
|
long |
startWork(javax.resource.spi.work.Work work)
|
long |
startWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkManagerImpl()
| Method Detail |
|---|
public org.jboss.threads.BlockingExecutor getShortRunningThreadPool()
public void setShortRunningThreadPool(org.jboss.threads.BlockingExecutor executor)
executor - The executorpublic org.jboss.threads.BlockingExecutor getLongRunningThreadPool()
public void setLongRunningThreadPool(org.jboss.threads.BlockingExecutor executor)
executor - The executorpublic org.jboss.jca.core.spi.transaction.xa.XATerminator getXATerminator()
public void setXATerminator(org.jboss.jca.core.spi.transaction.xa.XATerminator xaTerminator)
xaTerminator - The XA terminatorpublic boolean isSpecCompliant()
public void setSpecCompliant(boolean v)
v - The valuepublic org.jboss.jca.core.spi.security.Callback getCallbackSecurity()
public void setCallbackSecurity(org.jboss.jca.core.spi.security.Callback v)
v - The value
public org.jboss.jca.core.api.workmanager.WorkManager clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException - Thrown if the copy operation isn't supported
public void doWork(javax.resource.spi.work.Work work)
throws javax.resource.spi.work.WorkException
doWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkException
public void doWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
throws javax.resource.spi.work.WorkException
doWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkException
public long startWork(javax.resource.spi.work.Work work)
throws javax.resource.spi.work.WorkException
startWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkException
public long startWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
throws javax.resource.spi.work.WorkException
startWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkException
public void scheduleWork(javax.resource.spi.work.Work work)
throws javax.resource.spi.work.WorkException
scheduleWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkException
public void scheduleWork(javax.resource.spi.work.Work work,
long startTimeout,
javax.resource.spi.work.ExecutionContext execContext,
javax.resource.spi.work.WorkListener workListener)
throws javax.resource.spi.work.WorkException
scheduleWork in interface javax.resource.spi.work.WorkManagerjavax.resource.spi.work.WorkExceptionpublic void prepareShutdown()
prepareShutdown in interface org.jboss.jca.core.spi.graceful.GracefulShutdownpublic void shutdown()
shutdown in interface org.jboss.jca.core.spi.graceful.GracefulShutdownpublic boolean isShutdown()
isShutdown in interface org.jboss.jca.core.spi.graceful.GracefulShutdown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||