public interface ManagedConnectionFactory extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Object |
createConnectionFactory()
Creates a connection factory instance.
|
Object |
createConnectionFactory(ConnectionManager cxManager)
Creates a connection factory instance.
|
ManagedConnection |
createManagedConnection(Subject subject,
ConnectionRequestInfo cxRequestInfo)
Creates a new ManagedConnection
|
boolean |
equals(Object other)
Tests object for equality
|
PrintWriter |
getLogWriter()
Gets the logwriter for this instance.
|
int |
hashCode()
Generates a hashCode for this object
|
ManagedConnection |
matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo cxRequestInfo)
Returns a matching connection from the set.
|
void |
setLogWriter(PrintWriter out)
Sets the logwriter for this instance.
|
Object createConnectionFactory() throws ResourceException
ResourceException - for a generic errorResourceAdapterInternalException - for an internal error in the
resource adapterObject createConnectionFactory(ConnectionManager cxManager) throws ResourceException
cxManager - the connection managerResourceException - for a generic errorResourceAdapterInternalException - for an internal error in the
resource adapterManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cxRequestInfo) throws ResourceException
subject - the subjectcxRequestInfo - the connection request infoResourceException - for a generic errorResourceAllocationException - for an error allocting resourcesResourceAdapterInternalException - for an internal error in the
resource adapterSecurityException - for a security problemEISSystemException - for an error from the EISManagedConnection matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo cxRequestInfo) throws ResourceException
connectionSet - the connection setsubject - the subjectcxRequestInfo - the connection request infoResourceException - for a generic errorResourceAdapterInternalException - for an internal error in the
resource adapterSecurityException - for a security problemNotSupportedException - if not supportedPrintWriter getLogWriter() throws ResourceException
ResourceException - for a generic errorvoid setLogWriter(PrintWriter out) throws ResourceException
out - the log writerResourceException - for a generic errorResourceAdapterInternalException - for an internal error in the
resource adapterboolean equals(Object other)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.