org.springframework.jca.support
Class SimpleBootstrapContext
java.lang.Object
   org.springframework.jca.support.SimpleBootstrapContext
org.springframework.jca.support.SimpleBootstrapContext
- All Implemented Interfaces: 
- BootstrapContext
- public class SimpleBootstrapContext 
- extends Object- implements BootstrapContext
Simple implementation of the JCA 1.5 BootstrapContext
 interface, used for bootstrapping a JCA ResourceAdapter in a local environment.
 
Delegates to the given WorkManager and XATerminator, if any. Creates simple
 local instances of java.util.Timer.
- Since:
- 2.0.3
- Author:
- Juergen Hoeller
- See Also:
- ResourceAdapter.start(javax.resource.spi.BootstrapContext),- ResourceAdapterFactoryBean
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SimpleBootstrapContext
public SimpleBootstrapContext(WorkManager workManager)
- Create a new SimpleBootstrapContext for the given WorkManager,
 with no XATerminator available.
 
- Parameters:
- workManager- the JCA WorkManager to use (may be- null)
 
SimpleBootstrapContext
public SimpleBootstrapContext(WorkManager workManager,
                              XATerminator xaTerminator)
- Create a new SimpleBootstrapContext for the given WorkManager and XATerminator.
 
- Parameters:
- workManager- the JCA WorkManager to use (may be- null)
- xaTerminator- the JCA XATerminator to use (may be- null)
 
getWorkManager
public WorkManager getWorkManager()
- 
- Specified by:
- getWorkManagerin interface- BootstrapContext
 
- 
 
getXATerminator
public XATerminator getXATerminator()
- 
- Specified by:
- getXATerminatorin interface- BootstrapContext
 
- 
 
createTimer
public Timer createTimer()
                  throws UnavailableException
- 
- Specified by:
- createTimerin interface- BootstrapContext
 
- 
- Throws:
- UnavailableException
 
Copyright © 2002-2008 The Spring Framework.