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