FileDocCategorySizeDatePackage
BootstrapContext.javaAPI DocGlassfish v2 API3636Fri May 04 22:35:36 BST 2007javax.resource.spi

BootstrapContext

public interface BootstrapContext
This provides a mechanism to pass a bootstrap context to a resource adapter instance when it is bootstrapped. That is, when (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.
version
1.0
author
Ram Jeyaraman

Fields Summary
Constructors Summary
Methods Summary
public java.util.TimercreateTimer()
Creates a new java.util.Timer instance. The Timer instance could be used to perform periodic Work executions or other tasks.

throws
UnavailableException indicates that a Timer instance is not available. The request may be retried later.
return
a new Timer instance.

public javax.resource.spi.work.WorkManagergetWorkManager()
Provides a handle to a WorkManager instance. The WorkManager instance could be used by a resource adapter to do its work by submitting Work instances for execution.

return
a WorkManager instance.

public XATerminatorgetXATerminator()
Provides a handle to a XATerminator instance. The XATerminator instance could be used by a resource adapter to flow-in transaction completion and crash recovery calls from an EIS.

return
a XATerminator instance.