org.apache.geronimo.connector
Class GeronimoBootstrapContext
java.lang.Object
org.apache.geronimo.connector.GeronimoBootstrapContext
- All Implemented Interfaces:
- javax.resource.spi.BootstrapContext
public class GeronimoBootstrapContext
- extends java.lang.Object
- implements javax.resource.spi.BootstrapContext
GBean BootstrapContext implementation that refers to externally configured WorkManager
and XATerminator gbeans.
- Version:
- $Rev: 1033609 $ $Date: 2010-11-11 01:44:30 +0800 (Thu, 11 Nov 2010) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeronimoBootstrapContext
public GeronimoBootstrapContext()
- Default constructor for use as a GBean Endpoint.
GeronimoBootstrapContext
public GeronimoBootstrapContext(GeronimoWorkManager workManager,
javax.resource.spi.XATerminator xaTerminator,
javax.transaction.TransactionSynchronizationRegistry transactionSynchronizationRegistry)
- Normal constructor for use as a GBean.
- Parameters:
workManager - xaTerminator - transactionSynchronizationRegistry -
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 java.util.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()
getTransactionSynchronizationRegistry
public javax.transaction.TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
- Specified by:
getTransactionSynchronizationRegistry in interface javax.resource.spi.BootstrapContext
isContextSupported
public boolean isContextSupported(java.lang.Class<? extends javax.resource.spi.work.WorkContext> aClass)
- Specified by:
isContextSupported in interface javax.resource.spi.BootstrapContext
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.