org.jboss.jca.core.api.bootstrap
Interface CloneableBootstrapContext

All Superinterfaces:
javax.resource.spi.BootstrapContext, Cloneable

public interface CloneableBootstrapContext
extends Cloneable, javax.resource.spi.BootstrapContext

The cloneable bootstrap context interface which defines the contract for all BootstrapContext implementations

Author:
Jesper Pedersen

Method Summary
 CloneableBootstrapContext clone()
          Clone the BootstrapContext implementation
 void setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
          Set the resource adapter
 void setTransactionSynchronizationRegistry(TransactionSynchronizationRegistry tsr)
          Set the transaction synchronization registry
 void setWorkManager(WorkManager wm)
          Set the work manager
 void setXATerminator(javax.resource.spi.XATerminator xt)
          Set the XA terminator
 
Methods inherited from interface javax.resource.spi.BootstrapContext
createTimer, getTransactionSynchronizationRegistry, getWorkManager, getXATerminator, isContextSupported
 

Method Detail

setResourceAdapter

void setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Set the resource adapter

Parameters:
ra - The handle

setTransactionSynchronizationRegistry

void setTransactionSynchronizationRegistry(TransactionSynchronizationRegistry tsr)
Set the transaction synchronization registry

Parameters:
tsr - The handle

setWorkManager

void setWorkManager(WorkManager wm)
Set the work manager

Parameters:
wm - The handle

setXATerminator

void setXATerminator(javax.resource.spi.XATerminator xt)
Set the XA terminator

Parameters:
xt - The handle

clone

CloneableBootstrapContext clone()
                                throws CloneNotSupportedException
Clone the BootstrapContext implementation

Returns:
A copy of the implementation
Throws:
CloneNotSupportedException - Thrown if the copy operation isn't supported


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)