org.apache.geronimo.connector
Class BootstrapContextImpl

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

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

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

Version:
$Revision: 1.1 $ $Date: 2004/07/11 21:55:33 $

Constructor Summary
BootstrapContextImpl(GeronimoWorkManager workManager)
          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

BootstrapContextImpl

public BootstrapContextImpl(GeronimoWorkManager workManager)
Normal constructor for use as a GBean.

Parameters:
workManager -
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 © 2003-2005 Apache Software Foundation. All Rights Reserved.