| java.lang.Object org.ow2.easybeans.jca.workmanager.ResourceWork
ResourceWork | public class ResourceWork (Code) | | This class defines a work of the JCA API by adding some properties around
this work.
author: Philippe Durieux (JOnAS) author: Florent Benoit (EasyBeans) |
Constructor Summary | |
public | ResourceWork(Work work, long timeout, ExecutionContext executionContext, WorkListener workListener) Default constructor : build a wrapper around the given work. |
ResourceWork | public ResourceWork(Work work, long timeout, ExecutionContext executionContext, WorkListener workListener)(Code) | | Default constructor : build a wrapper around the given work.
Parameters: work - the given work Parameters: timeout - the timeout of this work Parameters: executionContext - the context for the given work Parameters: workListener - the listener on this work object |
getCreationTime | public long getCreationTime()(Code) | | the creation time of this object. |
getExecutionContext | public ExecutionContext getExecutionContext()(Code) | | the execution context of this work |
getTimeout | public long getTimeout()(Code) | | the timeout of this object |
getWork | public Work getWork()(Code) | | the work object |
getWorkListener | public WorkListener getWorkListener()(Code) | | the listener of this work. |
isStarted | public boolean isStarted()(Code) | | true if the work has been started, else false. |
setStarted | public void setStarted()(Code) | | Sets the started mode to true.
|
|
|