Method Summary |
|
public void | addConnectionEventListener(ConnectionEventListener listener) Resin will register a listener with the ManagedConnection so it
will know when a connection closes or has a fatal error. |
public void | associateConnection(Object conn) XXX:???
In some cases, Resin can associate an old application connection
with the ManagedConnection. |
public void | cleanup() Called when Resin returns a connection to the idle pool. |
void | close(ConnectionImpl conn) Implementation method to allow the ConnectionImpl to
trigger Resin's listeners when the connection closes. |
public void | destroy() Called when Resin is closing the connection. |
public Object | getConnection(Subject subject, ConnectionRequestInfo info) Creates a new application connection. |
public LocalTransaction | getLocalTransaction() Transaction-aware resources will return the LocalTransaction for the
managed connection. |
public PrintWriter | getLogWriter() Logging should use JDK 1.4 java.util.logging. |
public ManagedConnectionMetaData | getMetaData() This example isn't returning any meta data. |
public XAResource | getXAResource() Transaction-aware resources will return the XAResource for the
managed connection. |
public void | removeConnectionEventListener(ConnectionEventListener listener) Resin can remove it's listener when it removes the managed connection
from the pool. |
public void | setLogWriter(PrintWriter log) Logging should use JDK 1.4 java.util.logging. |
public String | toString() |