|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection
org.jboss.jca.adapters.jdbc.local.LocalManagedConnection
public class LocalManagedConnection

LocalManagedConnection
| Field Summary |
|---|
| Fields inherited from class org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection |
|---|
con, destroyed, ignoreInManagedAutoCommitCalls, inLocalTransaction, inManagedTransaction, jdbcAutoCommit, jdbcReadOnly, jdbcTransactionIsolation, mcf, metadata, props, stateLock, underlyingAutoCommit, underlyingReadOnly |
| Constructor Summary | |
|---|---|
LocalManagedConnection(LocalManagedConnectionFactory mcf,
Connection con,
Properties props,
int transactionIsolation,
int psCacheSize)
Constructor |
|
| Method Summary | |
|---|---|
void |
begin()
|
void |
commit()
|
javax.resource.spi.LocalTransaction |
getLocalTransaction()
|
XAResource |
getXAResource()
|
boolean |
isXA()
Returns true if the underlying connection is handled by an XA resource manager |
void |
rollback()
|
| Methods inherited from class org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection |
|---|
addConnectionEventListener, associateConnection, broadcastConnectionError, checkException, checkState, checkValid, cleanup, destroy, getConnection, getLog, getLogWriter, getMetaData, getProperties, lock, removeConnectionEventListener, setLogWriter, tryLock, unlock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalManagedConnection(LocalManagedConnectionFactory mcf,
Connection con,
Properties props,
int transactionIsolation,
int psCacheSize)
throws SQLException
mcf - The managed connection factorycon - The connectionprops - The propertiestransactionIsolation - The transaction isolationpsCacheSize - The prepared statement cache size
SQLException - Thrown if an error occurs| Method Detail |
|---|
public javax.resource.spi.LocalTransaction getLocalTransaction()
throws javax.resource.ResourceException
getLocalTransaction in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceException
public XAResource getXAResource()
throws javax.resource.ResourceException
getXAResource in interface javax.resource.spi.ManagedConnectionjavax.resource.ResourceException
public void commit()
throws javax.resource.ResourceException
commit in interface javax.resource.spi.LocalTransactionjavax.resource.ResourceException
public void rollback()
throws javax.resource.ResourceException
rollback in interface javax.resource.spi.LocalTransactionjavax.resource.ResourceException
public void begin()
throws javax.resource.ResourceException
begin in interface javax.resource.spi.LocalTransactionjavax.resource.ResourceExceptionpublic boolean isXA()
isXA in class BaseWrapperManagedConnection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||