| example.WorkResource
WorkResource | public class WorkResource extends AbstractResourceAdapter (Code) | | Implements a resource which uses uses Work management for
separate threading.
|
Method Summary | |
public void | addCount() Adds to the count. | public long | getSleepTime() Returns the sleep time. | public void | start(BootstrapContext ctx) The start method is called when the resource adapter starts, i.e. | public void | stop() Called when the resource adapter is stopped, i.e. | public String | toString() Returns a printable version of the resource. |
addCount | public void addCount()(Code) | | Adds to the count.
|
getSleepTime | public long getSleepTime()(Code) | | Returns the sleep time.
|
start | public void start(BootstrapContext ctx) throws ResourceAdapterInternalException(Code) | | The start method is called when the resource adapter starts, i.e.
when the web-app or host initializes.
|
stop | public void stop() throws ResourceAdapterInternalException(Code) | | Called when the resource adapter is stopped, i.e. when the
web-app or host closes down.
|
toString | public String toString()(Code) | | Returns a printable version of the resource.
|
|
|