| test.TestResource
TestResource | public class TestResource extends AbstractResourceAdapter (Code) | | Implements a resource which uses the ResourceAdapter lifecycle.
|
Method Summary | |
public void | setValue(String value) Sets the value. | 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. |
setValue | public void setValue(String value)(Code) | | Sets the value.
|
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.
|
|
|