org.apache.geronimo.connector
Class GeronimoBootstrapContext

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

public class GeronimoBootstrapContext
extends Object
implements javax.resource.spi.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(javax.resource.spi.work.WorkManager workManager, javax.resource.spi.XATerminator xaTerminator)
          Normal constructor for use as a GBean.
 
Method Summary
 Timer createTimer()
           
 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
 

Constructor Detail

GeronimoBootstrapContext

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


GeronimoBootstrapContext

public GeronimoBootstrapContext(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()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.