| java.lang.Object org.springframework.jca.support.SimpleBootstrapContext
SimpleBootstrapContext | public class SimpleBootstrapContext implements BootstrapContext(Code) | | Simple implementation of the JCA 1.5
javax.resource.spi.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 .
author: Juergen Hoeller since: 2.0.3 See Also: javax.resource.spi.ResourceAdapter.start(javax.resource.spi.BootstrapContext) See Also: ResourceAdapterFactoryBean |
Constructor Summary | |
public | SimpleBootstrapContext(WorkManager workManager) Create a new SimpleBootstrapContext for the given WorkManager,
with no XATerminator available. | public | SimpleBootstrapContext(WorkManager workManager, XATerminator xaTerminator) Create a new SimpleBootstrapContext for the given WorkManager and XATerminator. |
SimpleBootstrapContext | public SimpleBootstrapContext(WorkManager workManager)(Code) | | 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)(Code) | | Create a new SimpleBootstrapContext for the given WorkManager and XATerminator.
Parameters: workManager - the JCA WorkManager to use (may be null ) Parameters: xaTerminator - the JCA XATerminator to use (may be null ) |
createTimer | public Timer createTimer() throws UnavailableException(Code) | | |
getWorkManager | public WorkManager getWorkManager()(Code) | | |
getXATerminator | public XATerminator getXATerminator()(Code) | | |
|
|