|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.connector2.hod.J2HODBaseManagedConnectionFactory | +--com.ibm.connector2.hod.J2HOD3270ManagedConnectionFactory
This class defines a ManagedConnectionFactory specification which holds all relevant connection properties.
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.
The following table lists additional properties for 3270 from the base:
Property Name | Type |
Default |
Access |
---|---|---|---|
CodePage | String | ECLSession.SESSION_CODE_PAGE_DEFAULT | get/set |
LUName | String | "" | get/set |
ScreenSize | String | ECLSession.SESSION_PS_24X80_STR | get/set |
TNEnhanced | Boolean | false | get/set |
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 | |
J2HOD3270ManagedConnectionFactory()
J2HOD3270ManagedConnectionFactory 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 |
getCodePage()
Gets the codePage property (java.lang.String) value. |
java.lang.String |
getLUName()
Gets the LUName property (java.lang.String) value. |
java.lang.String |
getScreenSize()
Gets the screenSize property (java.lang.String) value. |
java.lang.Boolean |
getTNEnhanced()
Gets the TNEnhanced property (java.lang.Boolean) value. |
void |
setCodePage(java.lang.String codePage)
Sets the codePage property (java.lang.String) value. |
void |
setLUName(java.lang.String LUName)
Sets the LUName property (java.lang.String) value. |
void |
setScreenSize(java.lang.String screenSize)
Sets the screenSize property (java.lang.String) value. |
void |
setTNEnhanced(java.lang.Boolean TNEnhanced)
Sets the TNEnhanced property (java.lang.Boolean) value. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public J2HOD3270ManagedConnectionFactory()
Method Detail |
public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo) throws javax.resource.ResourceException
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.
subject
- javax.security.auth.Subject - caller's security informationconnectionRequestInfo
- ConnectionRequestInfo - additional resource adapter specific connection request informationjavax.resource.ResourceException
- - generic exceptionpublic java.lang.String getCodePage()
setCodePage(java.lang.String)
public java.lang.String getLUName()
setLUName(java.lang.String)
public java.lang.String getScreenSize()
setScreenSize(java.lang.String)
public java.lang.Boolean getTNEnhanced()
setTNEnhanced(java.lang.Boolean)
public void setCodePage(java.lang.String codePage)
codePage
- java.lang.String - The new value for the propertygetCodePage()
public void setLUName(java.lang.String LUName)
LUName
- java.lang.String - The new value for the propertygetLUName()
public void setScreenSize(java.lang.String screenSize)
screenSize
- java.lang.String - The new value for the propertygetScreenSize()
public void setTNEnhanced(java.lang.Boolean TNEnhanced)
TNEnhanced
- java.lang.Boolean - The new value for the propertygetTNEnhanced()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |