com.bankframe.ei.txnhandler.connector.http
Class HTTPConnectionFactory

java.lang.Object
  extended bycom.bankframe.ei.txnhandler.connector.http.HTTPConnectionFactory
All Implemented Interfaces:
EConnectionFactory, javax.naming.Referenceable, java.io.Serializable

public class HTTPConnectionFactory
extends java.lang.Object
implements EConnectionFactory

This class is the connection factory for the HTTP Connector.

See Also:
Serialized Form

Constructor Summary
HTTPConnectionFactory()
           
 
Method Summary
 EConnection getConnection()
          This method gets a connection to a Host system instance.
 EConnection getConnection(java.lang.String properties)
          This method gets a connection to a Host system instance.
 javax.naming.Reference getReference()
          This method gets the JNDI Reference instance.
 void setReference(javax.naming.Reference arg0)
          This method sets the JNDI Reference instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPConnectionFactory

public HTTPConnectionFactory()
Method Detail

getConnection

public EConnection getConnection()
Description copied from interface: EConnectionFactory
This method gets a connection to a Host system instance. This getConnection variant should be used when a component wants the container to manager Host system sign-on. This case is used when the component does not pass any security information (ie. username/password)

Specified by:
getConnection in interface EConnectionFactory
Returns:
EConnection instance.
See Also:
EConnectionFactory.getConnection()

getConnection

public EConnection getConnection(java.lang.String properties)
Description copied from interface: EConnectionFactory
This method gets a connection to a Host system instance. A component should use the getConnection variant with a String parameter of properties, if it needs to pass any connector specific security information and connection parameters. In the component- managed sign-on case, an application component passes security information (example: username, password) through the String instance.

Specified by:
getConnection in interface EConnectionFactory
Parameters:
properties - A semi-colon delimited String of connection specific properties. For example: user=jbloggs;password=eontec;paramX=valueX;
Returns:
EConnection instance.
See Also:
EConnectionFactory.getConnection(String)

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Description copied from interface: EConnectionFactory
This method gets the JNDI Reference instance.

Specified by:
getReference in interface EConnectionFactory
Returns:
The Reference instance for this class.
Throws:
javax.naming.NamingException
See Also:
Referenceable.getReference()

setReference

public void setReference(javax.naming.Reference arg0)
Description copied from interface: EConnectionFactory
This method sets the JNDI Reference instance. This method is called by the deployment code to set the Reference that can be later returned by the getReference method (as defined in the javax.naming.Referenceable interface).

Specified by:
setReference in interface EConnectionFactory
Parameters:
arg0 - A Reference instance
See Also:
EConnectionFactory.setReference(Reference)


Copyright © 2005, 2007, Oracle. All rights reserved.