| 
 | Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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.
| Method Summary | |
|---|---|
|  Timer | createTimer()Creates a new java.util.Timerinstance. | 
|  WorkManager | getWorkManager()Provides a handle to a WorkManagerinstance. | 
|  XATerminator | getXATerminator()Provides a handle to a XATerminatorinstance. | 
| Method Detail | 
|---|
WorkManager getWorkManager()
WorkManager instance. The
 WorkManager instance could be used by a resource adapter to
 do its work by submitting Work instances for execution.
WorkManager instance.XATerminator getXATerminator()
XATerminator instance. The
 XATerminator instance could be used by a resource adapter 
 to flow-in transaction completion and crash recovery calls from an EIS.
XATerminator instance.Timer createTimer() throws UnavailableException
java.util.Timer instance. The
 Timer instance could be used to perform periodic 
 Work executions or other tasks.
Timer instance.
UnavailableException - indicates that a 
 Timer instance is not available. The 
 request may be retried later.| 
 | Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Scripting on this page tracks web page traffic, but does not change the content in any way.