org.apache.geronimo.connector
Class GeronimoBootstrapContext

java.lang.Object
  extended by org.apache.geronimo.connector.GeronimoBootstrapContext
All Implemented Interfaces:
BootstrapContext

public class GeronimoBootstrapContext
extends Object
implements BootstrapContext

GBean BootstrapContext implementation that refers to externally configured WorkManager and XATerminator gbeans.


Constructor Summary
GeronimoBootstrapContext()
          Default constructor for use as a GBean Endpoint.
GeronimoBootstrapContext(WorkManager workManager, XATerminator xaTerminator)
          Normal constructor for use as a GBean.
 
Method Summary
 Timer createTimer()
           
 WorkManager getWorkManager()
           
 XATerminator getXATerminator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeronimoBootstrapContext

public GeronimoBootstrapContext()
Default constructor for use as a GBean Endpoint.


GeronimoBootstrapContext

public GeronimoBootstrapContext(WorkManager workManager,
                                XATerminator xaTerminator)
Normal constructor for use as a GBean.

Parameters:
workManager -
xaTerminator -
Method Detail

getWorkManager

public WorkManager getWorkManager()
Specified by:
getWorkManager in interface BootstrapContext
See Also:
BootstrapContext.getWorkManager()

getXATerminator

public XATerminator getXATerminator()
Specified by:
getXATerminator in interface BootstrapContext
See Also:
BootstrapContext.getXATerminator()

createTimer

public Timer createTimer()
                  throws UnavailableException
Specified by:
createTimer in interface BootstrapContext
Throws:
UnavailableException
See Also:
BootstrapContext.createTimer()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.