com.ibm.connector2.hod
Class J2HODCICSManagedConnectionFactory

java.lang.Object
  |
  +--com.ibm.connector2.hod.J2HODBaseManagedConnectionFactory
        |
        +--com.ibm.connector2.hod.J2HODCICSManagedConnectionFactory
All Implemented Interfaces:
javax.resource.spi.ManagedConnectionFactory, java.io.Serializable

public class J2HODCICSManagedConnectionFactory
extends J2HODBaseManagedConnectionFactory

This class defines a managedConnectionFactory specification for a CICS session which holds all relevant connection properties. Please see J2HODBaseManagedConnectionFactory for base connection properties.

If the HOD CICS Gateway screen comes up with CECI transaction, you may send PF3 to end the transaction, send CLEAR to clear the screen and then type any tranactions valid on your host CICS system.

If you want to use the SSL feature, you need the full Host-On-Demand (HOD) product. You have to create a CustomizedCAs class file. The HOD Administration Guide shows you how to create this file. After this file is created, you place it in \IBMVJava\project_resources\your_project directory.

Properties

The following table lists additional properties for CICS from the base:

Property Name Type

Default

Access
CICSGWCodePage String ECLSession.SESSION_CICS_CODE_PAGE_DEFAULT get/set
ConnectionURL String "" get/set

See Also:
Serialized Form

Fields inherited from class com.ibm.connector2.hod.J2HODBaseManagedConnectionFactory
CONNECTION_TIMEOUT_DEFAULT, RAS_TRACE_ENTRY_EXIT, RAS_TRACE_ERROR_EXCEPTION, RAS_TRACE_INTERNAL, RAS_TRACE_INTERNAL_NATIVE, RAS_TRACE_OFF
 
Constructor Summary
J2HODCICSManagedConnectionFactory()
          J2HODCICSManagedConnectionFactory constructor
 
Method Summary
 javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
          Creates a new physical connection to the underlying EIS resource manager,
 java.lang.String getCICSGWCodePage()
          Gets the CICSGWCodePage property (java.lang.String) value.
 java.lang.String getConnectionURL()
          Gets the connectionURL property (java.lang.String) value.
 void setCICSGWCodePage(java.lang.String CICSGWCodePage)
          Sets the CICSGWCodePage property (java.lang.String) value.
 void setConnectionURL(java.lang.String connectionURL)
          Sets the connectionURL property (java.lang.String) value.
 
Methods inherited from class com.ibm.connector2.hod.J2HODBaseManagedConnectionFactory
createConnectionFactory, createConnectionFactory, equals, getConnectionTimeout, getLogonLogoffClassName, getLogWriter, getPassword, getPortNumber, getPortNumberBackup1, getPortNumberBackup2, getReauthentication, getSecurity, getSecurityProtocol, getServerName, getServerNameBackup1, getServerNameBackup2, getSessionName, getSSLServerAuthentication, getTraceLevel, getUserName, hashCode, isReauthentication, matchManagedConnections, setConnectionTimeout, setLogonLogoffClassName, setLogWriter, setPassword, setPortNumber, setPortNumberBackup1, setPortNumberBackup2, setReauthentication, setSecurity, setSecurityProtocol, setServerName, setServerNameBackup1, setServerNameBackup2, setSessionName, setSessionProperties, setSSLServerAuthentication, setTraceLevel, setUserName
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J2HODCICSManagedConnectionFactory

public J2HODCICSManagedConnectionFactory()
J2HODCICSManagedConnectionFactory constructor
Method Detail

createManagedConnection

public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
                                                                    javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
                                                             throws javax.resource.ResourceException
Creates a new physical connection to the underlying EIS resource manager,

ManagedConnectionFactory uses the security information (passed as Subject) and additional ConnectionRequestInfo (which is specific to ResourceAdapter and opaque to application server) to create this new connection.

This method returns a ManagedConnection instance that is the best match for handling the connection allocation request.

Parameters:
subject - javax.security.auth.Subject - caller's security information
connectionRequestInfo - ConnectionRequestInfo - additional resource adapter specific connection request information
Returns:
javax.resource.spi.ManagedConnection - J2HODCICSManagedConnectionFactory instance
Throws:
javax.resource.ResourceException - - generic exception

getCICSGWCodePage

public java.lang.String getCICSGWCodePage()
Gets the CICSGWCodePage property (java.lang.String) value.
Returns:
java.lang.String - The CICSGWCodePage property value
See Also:
setCICSGWCodePage(java.lang.String)

getConnectionURL

public java.lang.String getConnectionURL()
Gets the connectionURL property (java.lang.String) value.
Returns:
java.lang.String - The connectionURL property value
See Also:
setConnectionURL(java.lang.String)

setCICSGWCodePage

public void setCICSGWCodePage(java.lang.String CICSGWCodePage)
Sets the CICSGWCodePage property (java.lang.String) value.
Parameters:
CICSGWCodePage - java.lang.String - The new value for the property
See Also:
getCICSGWCodePage()

setConnectionURL

public void setConnectionURL(java.lang.String connectionURL)
Sets the connectionURL property (java.lang.String) value.
Parameters:
connectionURL - java.lang.String - The new value for the property
See Also:
getConnectionURL()