| |
|
| java.lang.Object de.danet.an.util.ra.ManagedConnectionSupport
All known Subclasses: de.danet.an.workflow.rmsimpls.propsrmsra.PropsRmsManagedConnection, de.danet.an.workflow.rmsimpls.ldaprmsra.LdapRmsManagedConnection,
ManagedConnectionSupport | abstract public class ManagedConnectionSupport implements ManagedConnection(Code) | | This class provides a base for implementing managed connections.
author: mnl |
ManagedConnectionSupport | public ManagedConnectionSupport(ManagedConnectionFactorySupport mcf, Subject subject)(Code) | | Create a new instance with all attributes initialized
to defaults or the given values.
Parameters: the - managed connection factory Parameters: subject - security context as JAAS subject |
addConnectionEventListener | public void addConnectionEventListener(ConnectionEventListener listener)(Code) | | |
associateConnection | public void associateConnection(Object newConnection) throws ResourceException(Code) | | |
cleanup | public void cleanup() throws ResourceException(Code) | | |
createConnection | abstract protected ConnectionSupport createConnection(Subject subject, ConnectionRequestInfo cxRequestInfo)(Code) | | Create a connection. This method must be implemented by derived
classes.
Parameters: subject - security context as JAAS subject Parameters: cxRequestInfo - ConnectionRequestInfo instance the connection implementation object See Also: javax.resource.spi.ManagedConnection.getConnection |
destroy | final public void destroy() throws ResourceException(Code) | | |
doDestroy | abstract protected void doDestroy()(Code) | | Destroy any resources allocated by the derived class. This is
invoked after the cleanup done by destroy for this
class.
|
getConnection | public Object getConnection(Subject subject, ConnectionRequestInfo cxRequestInfo) throws ResourceException(Code) | | |
getLocalTransaction | public LocalTransaction getLocalTransaction() throws ResourceException(Code) | | |
getMetaData | public ManagedConnectionMetaData getMetaData() throws ResourceException(Code) | | |
removeConnectionEventListener | public void removeConnectionEventListener(ConnectionEventListener listener)(Code) | | |
setLogWriter | public void setLogWriter(PrintWriter logWriter) throws ResourceException(Code) | | |
|
|
|