|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.examples.txnhandler.connector.coboltest.CobolTestManagedConnectionFactory
public class CobolTestManagedConnectionFactory
This class creates TestCustomerManagedConnection instances
Constructor Summary | |
---|---|
CobolTestManagedConnectionFactory()
Default Constructor |
Method Summary | |
---|---|
Object |
createConnectionFactory()
This method creates a connection factorty |
Object |
createConnectionFactory(EConnectionManager cm)
This method creates a connection factory |
EManagedConnection |
createManagedConnection(String properties)
This method creates a managed connection |
boolean |
equals(Object obj)
This method returns true iff they have the same hostname, port, channel name and offline mode. |
EManagedConnection |
matchManagedConnections(Set connectionSet,
String properties)
The matchManagedConnections search the connection set, the pool, to find if there is a connector with right propertioes. |
Properties |
parseProperties(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 Object createConnectionFactory()
createConnectionFactory
in interface EManagedConnectionFactory
public Object createConnectionFactory(EConnectionManager cm)
createConnectionFactory
in interface EManagedConnectionFactory
cm
- The connection manager to be associated with this connection factory instance.
public EManagedConnection createManagedConnection(String properties)
createManagedConnection
in interface EManagedConnectionFactory
properties
- additional connector specific connection request information (as a semi-colon delimited String)
public boolean equals(Object obj)
equals
in interface EManagedConnectionFactory
equals
in class Object
obj
- Another instance of an EManagedConnectionFactory
public EManagedConnection matchManagedConnections(Set connectionSet, String properties)
matchManagedConnections
in interface EManagedConnectionFactory
connectionSet
- java.util.Setproperties
- java.lang.String
public Properties parseProperties(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 |