|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.examples.txnhandler.connector.coboltest.CobolTestManagedConnectionFactory
This class creates TestCustomerManagedConnection instances
Constructor Summary | |
CobolTestManagedConnectionFactory()
Default Constructor |
Method Summary | |
java.lang.Object |
createConnectionFactory()
This method creates a connection factorty |
java.lang.Object |
createConnectionFactory(EConnectionManager cm)
This method creates a connection factory |
EManagedConnection |
createManagedConnection(java.lang.String properties)
This method creates a managed connection |
boolean |
equals(java.lang.Object obj)
This method returns true iff they have the same hostname, port, channel name and offline mode. |
EManagedConnection |
matchManagedConnections(java.util.Set connectionSet,
java.lang.String properties)
The matchManagedConnections search the connection set, the pool, to find if there is a connector with right propertioes. |
java.util.Properties |
parseProperties(java.lang.String properties)
This method will parse a semi-colon delimited String into a Properties object. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CobolTestManagedConnectionFactory()
Method Detail |
public java.lang.Object createConnectionFactory()
createConnectionFactory
in interface EManagedConnectionFactory
public java.lang.Object createConnectionFactory(EConnectionManager cm)
createConnectionFactory
in interface EManagedConnectionFactory
cm
- The connection manager to be associated with this connection factory instance.
public EManagedConnection createManagedConnection(java.lang.String properties)
createManagedConnection
in interface EManagedConnectionFactory
properties
- additional connector specific connection request information (as a semi-colon delimited String)
public boolean equals(java.lang.Object obj)
equals
in interface EManagedConnectionFactory
public EManagedConnection matchManagedConnections(java.util.Set connectionSet, java.lang.String properties)
matchManagedConnections
in interface EManagedConnectionFactory
connectionSet
- java.util.Setproperties
- java.lang.String
public java.util.Properties parseProperties(java.lang.String properties)
properties
- A semi-colon delimited String of property values.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |