javax.resource.spi
Interface BootstrapContext

All Known Implementing Classes:
RARDeployment (src)

public interface BootstrapContext

Used to pass context to the resource adapter start(BootstrapContext) method.


Method Summary
 java.util.Timer createTimer()
          Creates a new Timer that can be used to perform period work.
 WorkManager (src) getWorkManager()
          Get the work manager, the resource adapter should use this for all work on new threads.
 XATerminator (src) getXATerminator()
          Get the XATerminator.
 

Method Detail

createTimer

public java.util.Timer createTimer()
                            throws UnavailableException (src) 
Creates a new Timer that can be used to perform period work.

Returns:
the timer instance
Throws:
UnavailableException (src) - when not timer is available. It can be retried later.

getWorkManager

public WorkManager (src)  getWorkManager()
Get the work manager, the resource adapter should use this for all work on new threads.

Returns:
the work manager

getXATerminator

public XATerminator (src)  getXATerminator()
Get the XATerminator. The resource adapter should use this to gain access to the transaction and crash recovery.

Returns:
the XATerminator