| java.lang.Object org.objectweb.jonas.jdbc.ManagedConnectionImpl
ManagedConnectionImpl | public class ManagedConnectionImpl implements ManagedConnection,javax.resource.spi.LocalTransaction(Code) | | author: Eric hardesty |
inLocalTransaction | protected boolean inLocalTransaction(Code) | | |
pc | PasswordCredential pc(Code) | | |
trace | public Logger trace(Code) | | |
addConnectionEventListener | public void addConnectionEventListener(ConnectionEventListener listener)(Code) | | Adds a connection event listener.
|
addSignature | public void addSignature(long sig)(Code) | | |
associateConnection | public synchronized void associateConnection(Object con) throws ResourceException(Code) | | Change the association of a connection handle
|
begin | public void begin() throws ResourceException(Code) | | |
cleanup | public void cleanup() throws ResourceException(Code) | | Cleanup the ManagedConnection instance.
|
clearSignature | public void clearSignature()(Code) | | |
clearSignature | public void clearSignature(long sig, boolean clear)(Code) | | |
commit | public void commit() throws ResourceException(Code) | | |
destroy | public synchronized void destroy() throws ResourceException(Code) | | Destroys the physical connection.
|
getAutoCommit | public synchronized boolean getAutoCommit() throws ResourceException(Code) | | |
getConnection | public Object getConnection(Subject subject, ConnectionRequestInfo cxRequestInfo) throws ResourceException(Code) | | Create a connection handle
|
getLocalTransaction | public LocalTransaction getLocalTransaction() throws ResourceException(Code) | | Returns an javax.resource.spi.LocalTransaction instance.
|
getLogWriter | public PrintWriter getLogWriter()(Code) | | Gets the log writer for this ManagedConnection instance.
|
getMetaData | public ManagedConnectionMetaData getMetaData() throws ResourceException(Code) | | Gets the metadata information for this connection's underlying EIS
resource manager instance.
|
getNewSignature | public long getNewSignature(boolean setSig)(Code) | | Gets the next signature value
long next signature value |
getSignature | public long getSignature(long sig)(Code) | | Gets the signature value passed in if found in the signature hash table
long sig value to find in signature table long signature value or 0 if not found |
getSignature | public long getSignature()(Code) | | Gets the current signature value
long current signature value |
getXAResource | public XAResource getXAResource() throws ResourceException(Code) | | Check if the mc is in local transaction
|
removeConnectionEventListener | public void removeConnectionEventListener(ConnectionEventListener listener)(Code) | | Removes an already registered connection event listener from the
ManagedConnection instance
|
rollback | public void rollback() throws ResourceException(Code) | | |
setAutoCommit | public synchronized void setAutoCommit(boolean ac) throws ResourceException(Code) | | |
setLogWriter | public void setLogWriter(PrintWriter _out)(Code) | | Sets the log writer for this ManagedConnection instance.
|
setSignature | public void setSignature(long sig)(Code) | | |
|
|