com.bankframe.ei.txnhandler.connector.jdbcconnector
Class JDBCManagedConnectionFactory

java.lang.Object
  |
  +--com.bankframe.ei.txnhandler.connector.jdbcconnector.JDBCManagedConnectionFactory
All Implemented Interfaces:
EManagedConnectionFactory, java.io.Serializable

public class JDBCManagedConnectionFactory
extends java.lang.Object
implements EManagedConnectionFactory

See Also:
Serialized Form

Constructor Summary
JDBCManagedConnectionFactory()
          JDBCManagedConnectionFactory constructor.
 
Method Summary
 java.lang.Object createConnectionFactory()
          This method creates a new JDBCConnectionFactory instance.
 java.lang.Object createConnectionFactory(EConnectionManager econnectionmanager)
          This method creates a new JDBCConnectionFactory instance.
 EManagedConnection createManagedConnection(java.lang.String properties)
          This method will create a new physical connection to JDBC.
 boolean equals(java.lang.Object obj)
          This method checks whether a EManagedConnectionFactory instance is equal to this one.
 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

JDBCManagedConnectionFactory

public JDBCManagedConnectionFactory()
JDBCManagedConnectionFactory constructor.

Method Detail

createConnectionFactory

public java.lang.Object createConnectionFactory()
This method creates a new JDBCConnectionFactory instance.

Specified by:
createConnectionFactory in interface EManagedConnectionFactory
Returns:
A new JDBCConnectionFactory instance.

createConnectionFactory

public java.lang.Object createConnectionFactory(EConnectionManager econnectionmanager)
This method creates a new JDBCConnectionFactory instance. It uses the EConnectionManager implementation that was passed in.

Specified by:
createConnectionFactory in interface EManagedConnectionFactory
Parameters:
econnectionmanager - An instance of a Connection Manager to use with this factory.
Returns:
A new JDBCConnectionFactory instance.

createManagedConnection

public EManagedConnection createManagedConnection(java.lang.String properties)
This method will create a new physical connection to JDBC.

Specified by:
createManagedConnection in interface EManagedConnectionFactory
Parameters:
properties - A semi-colon delimited String of property values to be associated with this connection.
Returns:
A new EManagedConnection.

equals

public boolean equals(java.lang.Object obj)
This method checks whether a EManagedConnectionFactory instance is equal to this one.

Specified by:
equals in interface EManagedConnectionFactory
Overrides:
equals in class java.lang.Object
Parameters:
obj - An instance of another EManagedConnectionFactory object.
Returns:
True if the managed connection factory passed in is equal to this one.

matchManagedConnections

public 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. If there is one, the return it. Otherwise, return null.

Specified by:
matchManagedConnections in interface EManagedConnectionFactory
Parameters:
connectionSet - the connection set
properties - a semi-colon delimited String of property values.
Returns:
EManagedConnection

parseProperties

public java.util.Properties parseProperties(java.lang.String properties)
This method will parse a semi-colon delimited String into a Properties object.

Parameters:
properties - A semi-colon delimited String of property values.
Returns:
A Properties object representing the String value passed in.


Copyright © 2005 Siebel Systems, Inc. All rights reserved.