|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A ManagedConnectionFactory is a factory for the creation of ManagedConnection objects and ConnectionFactory objects. It provides methods which can be used to match ManagedConnetions.
| Method Summary | |
java.lang.Object |
createConnectionFactory()
Creates a connection factory instance. |
java.lang.Object |
createConnectionFactory(ConnectionManager (src) cxManager)
Creates a connection factory instance. |
ManagedConnection (src) |
createManagedConnection(javax.security.auth.Subject subject,
ConnectionRequestInfo (src) cxRequestInfo)
Creates a new ManagedConnection |
boolean |
equals(java.lang.Object other)
Tests object for equality |
java.io.PrintWriter |
getLogWriter()
Gets the logwriter for this instance. |
int |
hashCode()
Generates a hashCode for this object |
ManagedConnection (src) |
matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
ConnectionRequestInfo (src) cxRequestInfo)
Returns a matching connection from the set. |
void |
setLogWriter(java.io.PrintWriter out)
Sets the logwriter for this instance. |
| Method Detail |
public java.lang.Object createConnectionFactory()
throws ResourceException (src)
ResourceException (src) - for a generic error
ResourceAdapterInternalException (src) - for an internal error in the
resource adapter
public java.lang.Object createConnectionFactory(ConnectionManager (src) cxManager)
throws ResourceException (src)
cxManager - the connection manager
ResourceException (src) - for a generic error
ResourceAdapterInternalException (src) - for an internal error in the
resource adapter
public ManagedConnection (src) createManagedConnection(javax.security.auth.Subject subject,
ConnectionRequestInfo (src) cxRequestInfo)
throws ResourceException (src)
subject - the subjectcxRequestInfo - the connection request info
ResourceException (src) - for a generic error
ResourceAllocationException (src) - for an error allocting resources
ResourceAdapterInternalException (src) - for an internal error in the
resource adapter
SecurityException (src) - for a security problem
EISSystemException (src) - for an error from the EIS
public ManagedConnection (src) matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
ConnectionRequestInfo (src) cxRequestInfo)
throws ResourceException (src)
connectionSet - the connection setsubject - the subjectcxRequestInfo - the connection request info
ResourceException (src) - for a generic error
ResourceAdapterInternalException (src) - for an internal error in the
resource adapter
SecurityException (src) - for a security problem
NotSupportedException - if not supported
public java.io.PrintWriter getLogWriter()
throws ResourceException (src)
ResourceException (src) - for a generic error
public void setLogWriter(java.io.PrintWriter out)
throws ResourceException (src)
out - the log writer
ResourceException (src) - for a generic error
ResourceAdapterInternalException (src) - for an internal error in the
resource adapterpublic boolean equals(java.lang.Object other)
other - the other object
public int hashCode()
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||