|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
EManagedConnectionFactory instance is a factory of both EManagedConnection and connector-specific connection factory instances. This interface supports connection pooling by providing methods for matching and creation of EManagedConnection instance.
Method Summary | |
java.lang.Object |
createConnectionFactory()
This method creates a Connection Factory instance |
java.lang.Object |
createConnectionFactory(EConnectionManager cm)
This method creates a Connection Factory instance. |
EManagedConnection |
createManagedConnection(java.lang.String properties)
This method creates a new physical connection to the underlying Connector resource manager |
boolean |
equals(java.lang.Object other)
This method checks if this EManagedConnectionFactory is equal to another EManagedConnectionFactory |
EManagedConnection |
matchManagedConnections(java.util.Set connectionSet,
java.lang.String properties)
This method returns a matched connection from the candidate set of connections |
Method Detail |
public java.lang.Object createConnectionFactory()
public java.lang.Object createConnectionFactory(EConnectionManager cm)
cm
- The connection manager to be associated with this connection factory instance.
public EManagedConnection createManagedConnection(java.lang.String properties)
properties
- additional connector specific connection request information (as a semi-colon delimited String)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- Another instance of an EManagedConnectionFactory
public EManagedConnection matchManagedConnections(java.util.Set connectionSet, java.lang.String properties)
connectionSet
- The candidate Set of connectionsproperties
- Any connection specific information required by the connector.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |