javax.resource.spi
Interface ManagedConnection
public interface ManagedConnection
- Version:
- $Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
getConnection
Object getConnection(Subject subject,
ConnectionRequestInfo cxRequestInfo)
throws ResourceException
- Throws:
ResourceException
destroy
void destroy()
throws ResourceException
- Throws:
ResourceException
cleanup
void cleanup()
throws ResourceException
- Throws:
ResourceException
associateConnection
void associateConnection(Object connection)
throws ResourceException
- Throws:
ResourceException
addConnectionEventListener
void addConnectionEventListener(ConnectionEventListener listener)
removeConnectionEventListener
void removeConnectionEventListener(ConnectionEventListener listener)
getXAResource
XAResource getXAResource()
throws ResourceException
- Throws:
ResourceException
getLocalTransaction
LocalTransaction getLocalTransaction()
throws ResourceException
- Throws:
ResourceException
getMetaData
ManagedConnectionMetaData getMetaData()
throws ResourceException
- Throws:
ResourceException
setLogWriter
void setLogWriter(PrintWriter out)
throws ResourceException
- Throws:
ResourceException
getLogWriter
PrintWriter getLogWriter()
throws ResourceException
- Throws:
ResourceException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.