org.apache.geronimo.connector
Class BootstrapContext

java.lang.Object
  extended byorg.apache.geronimo.connector.BootstrapContext
All Implemented Interfaces:
javax.resource.spi.BootstrapContext

public class BootstrapContext
extends Object
implements javax.resource.spi.BootstrapContext

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

Version:
$Revision: 1.8 $ $Date: 2004/07/06 17:17:41 $

Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
BootstrapContext()
          Default constructor for use as a GBean Endpoint.
BootstrapContext(javax.resource.spi.work.WorkManager workManager, javax.resource.spi.XATerminator xaTerminator)
          Normal constructor for use as a GBean.
 
Method Summary
 Timer createTimer()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 javax.resource.spi.work.WorkManager getWorkManager()
           
 javax.resource.spi.XATerminator getXATerminator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

BootstrapContext

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


BootstrapContext

public BootstrapContext(javax.resource.spi.work.WorkManager workManager,
                        javax.resource.spi.XATerminator xaTerminator)
Normal constructor for use as a GBean.

Parameters:
workManager -
xaTerminator -
Method Detail

getWorkManager

public javax.resource.spi.work.WorkManager getWorkManager()
Specified by:
getWorkManager in interface javax.resource.spi.BootstrapContext
See Also:
BootstrapContext.getWorkManager()

getXATerminator

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

createTimer

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

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.