|
Oracle Fusion Middleware User Messaging Service 11.1.1.6.0 Java API Reference E14011-04 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DriverResourceAdapter
This interface defines the specification for a Driver RA implementation.
Note: To write a new Messaging Driver RA, extend the DriverResourceAdapterBase class which is an abstract implementation of this interface.
For example:
public class XXXDriverResourceAdapter extends DriverResourceAdapterBase {
...
public void startDriver(DriverContext context) throws DriverException {
...
}
public void stopDriver() throws DriverException {
...
}
}
Method Summary | |
---|---|
WorkingStateType |
startDriver(DriverContext context)
The DriverResourceAdapterBase calls this method to start the driver RA. |
void |
stopDriver()
The DriverResourceAdapterBase calls this method to allow the driver RA to perform any clean up before stopping. |
Methods inherited from interface javax.resource.spi.ResourceAdapter |
---|
endpointActivation, endpointDeactivation, getXAResources, start, stop |
Method Detail |
---|
WorkingStateType startDriver(DriverContext context) throws DriverException
context
- the driver context
DriverException
- indicates a problem during driver startup.void stopDriver() throws DriverException
DriverException
- indicates a problem during driver shutdown.
|
Oracle Fusion Middleware User Messaging Service 11.1.1.6.0 Java API Reference E14011-04 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |