jrun.connector
Class JRunConnectionWrapper
java.lang.Object
|
+--jrun.connector.JRunConnectionWrapper
- public class JRunConnectionWrapper
- extends java.lang.Object
Base Wrapper class to hold the ManagedConnection, connectionhandle and security info.
Transaction information and associated methods are implemented by derived classes
|
Constructor Summary |
JRunConnectionWrapper(javax.resource.spi.ManagedConnection mc,
javax.security.auth.Subject s,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connMan
protected ConnectionManagerImpl connMan
manConn
protected javax.resource.spi.ManagedConnection manConn
connectionHandle
protected java.lang.Object connectionHandle
subj
protected javax.security.auth.Subject subj
cxRequestInfo
protected javax.resource.spi.ConnectionRequestInfo cxRequestInfo
logger
protected Logger logger
active
protected boolean active
waitForTxClose
protected boolean waitForTxClose
associatedXid
protected javax.transaction.xa.Xid associatedXid
JRunConnectionWrapper
public JRunConnectionWrapper(javax.resource.spi.ManagedConnection mc,
javax.security.auth.Subject s,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
init
public void init(ConnectionManagerImpl cm,
Logger logger)
- Sets the ConnectionmanagerImpl, Logger and calls associateTransaction
getManagedConnection
public javax.resource.spi.ManagedConnection getManagedConnection()
getConnectionHandle
public java.lang.Object getConnectionHandle()
getLogger
public Logger getLogger()
expire
public void expire()
isWaitForTxClose
public boolean isWaitForTxClose()
setWaitForTxClose
public void setWaitForTxClose(boolean waitForTxClose)
isActive
public boolean isActive()
setActive
public void setActive(boolean active)
getAssociatedXid
public javax.transaction.xa.Xid getAssociatedXid()
setAssociatedXid
protected void setAssociatedXid(javax.transaction.xa.Xid associatedXid)
Copyright � 2002 Macromedia Corporation. All Rights Reserved.