start(BootstrapContext)) method on the
ResourceAdapter class is invoked. The bootstrap
context contains references to useful facilities that could be used by the
resource adapter instance.
| Modifier and Type | Method and Description |
|---|---|
| public Timer | |
| public TransactionSynchronizationRegistry | Returns: aTransactionSynchronizationRegistry instance.Provides a handle to a |
| public WorkManager | |
| public XATerminator | |
| public boolean | Returns: true if theworkContextClass is supported
by the application server. false if the workContextClass
is unsupported or unknown to the application server.The WorkContext type that is tested for
support by the application server. workContextClass)A resource adapter can check an application server's support for a particular WorkContext type through this method. |
| createTimer | back to summary |
|---|---|
| public Timer createTimer() throws UnavailableException Creates a new
| |
| getTransactionSynchronizationRegistry | back to summary |
|---|---|
| public TransactionSynchronizationRegistry getTransactionSynchronizationRegistry() Provides a handle to a
| |
| getWorkManager | back to summary |
|---|---|
| public WorkManager getWorkManager() Provides a handle to a
| |
| getXATerminator | back to summary |
|---|---|
| public XATerminator getXATerminator() Provides a handle to a
| |
| isContextSupported | back to summary |
|---|---|
| public boolean isContextSupported(Class<? extends WorkContext> workContextClass) A resource adapter can check an application server's support
for a particular WorkContext type through this method.
This mechanism enables a resource adapter developer to
dynamically change the WorkContexts submitted with a Work instance
based on the support provided by the application server.
The application server must employ an exact type equality check (that is
| |