|
|||||||||||
| PREV CLASS NEXT CLASS | 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 | |
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. |
| Method Detail |
public Object createConnectionFactory() throws ResourceException
ResourceExceptionpublic Object createConnectionFactory(ConnectionManager cxManager) throws ResourceException
ResourceExceptionpublic ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cxRequestInfo) throws ResourceException
ResourceExceptionpublic boolean equals(Object other)
public PrintWriter getLogWriter() throws ResourceException
ResourceExceptionpublic int hashCode()
public ManagedConnection matchManagedConnections(Set connectionSet, Subject subject, ConnectionRequestInfo cxRequestInfo) throws ResourceException
ResourceExceptionpublic void setLogWriter(PrintWriter out) throws ResourceException
ResourceException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||