org.apache.openejb.core.transaction
Class SimpleBootstrapContext

java.lang.Object
  extended by org.apache.openejb.core.transaction.SimpleBootstrapContext
All Implemented Interfaces:
javax.resource.spi.BootstrapContext

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


Constructor Summary
SimpleBootstrapContext(javax.resource.spi.work.WorkManager workManager)
           
SimpleBootstrapContext(javax.resource.spi.work.WorkManager workManager, javax.resource.spi.XATerminator xaTerminator)
           
 
Method Summary
 Timer createTimer()
           
 TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
           
 javax.resource.spi.work.WorkManager getWorkManager()
           
 javax.resource.spi.XATerminator getXATerminator()
           
 boolean isContextSupported(Class<? extends javax.resource.spi.work.WorkContext> cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBootstrapContext

public SimpleBootstrapContext(javax.resource.spi.work.WorkManager workManager)

SimpleBootstrapContext

public SimpleBootstrapContext(javax.resource.spi.work.WorkManager workManager,
                              javax.resource.spi.XATerminator xaTerminator)
Method Detail

getWorkManager

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

getXATerminator

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

createTimer

public Timer createTimer()
Specified by:
createTimer in interface javax.resource.spi.BootstrapContext

getTransactionSynchronizationRegistry

public TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
Specified by:
getTransactionSynchronizationRegistry in interface javax.resource.spi.BootstrapContext

isContextSupported

public boolean isContextSupported(Class<? extends javax.resource.spi.work.WorkContext> cls)
Specified by:
isContextSupported in interface javax.resource.spi.BootstrapContext


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.