|
||||||||||
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.J2HODVTManagedConnectionFactory
This class defines a managedConnectionFactory specification for a VT session which holds all relevant connection properties. Please see J2HODBaseManagedConnectionFactory for base 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 VT from the base:
Property Name | Type |
Default |
Access |
---|---|---|---|
CodePage | String | ECLSession.SESSION_VT_CODE_PAGE_DEFAULT | get/set |
ScreenSize | String | ECLSession.SESSION_PS_24X80_STR | get/set |
VTAutowrap | Boolean | false | get/set |
VTLocalEcho | Boolean | false | get/set |
VTNewLine | Boolean | true | get/set |
VTTerminalType | String | ECLSession.SESSION_VT_TERMINAL_TYPE_DEFAULT | get/set |
SshUserID | String | "" (zero-length string) | get/set |
SshPassword | String | "" (zero-length string) | get/set |
UseSshPublicKeyAuthentication | Boolean | false | get/set |
KeyStoreFilePath | String | "" (zero-length string) | get/set |
KeyStorePassword | String | "" (zero-length string) | get/set |
SshPublicKeyAlias | String | myKey | get/set |
SshPublicKeyAliasPassword | String | "" (zero-length string) | 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 | |
---|---|
J2HODVTManagedConnectionFactory()
J2HODVTManagedConnectionFactory 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 |
getKeyStoreFilePath()
Gets the KeyStoreFilePath property (java.lang.String) value. |
java.lang.String |
getKeyStorePassword()
Gets the KeyStorePassword property (java.lang.String) value. |
java.lang.String |
getScreenSize()
Gets the screenSize property (java.lang.String) value. |
java.lang.String |
getSshPassword()
Gets the SshPassword property (java.lang.String) value. |
java.lang.String |
getSshPublicKeyAlias()
Gets the SshPublicKeyAlias property (java.lang.String) value. |
java.lang.String |
getSshPublicKeyAliasPassword()
Gets the SshPublicKeyAliasPassword property (java.lang.String) value. |
java.lang.String |
getSshUserID()
Gets the SshUserID property (java.lang.String) value. |
java.lang.Boolean |
getUseSshPublicKeyAuthentication()
Gets the UseSshPublicKeyAuthentication property (java.lang.Boolean) value. |
java.lang.Boolean |
getVTAutoWrap()
Gets the VTAutoWrap property (java.lang.Boolean) value. |
java.lang.Boolean |
getVTLocalEcho()
Gets the VTLocalEcho property (java.lang.Boolean) value. |
java.lang.Boolean |
getVTNewLine()
Gets the VTNewLine property (java.lang.Boolean) value. |
java.lang.String |
getVTTerminalType()
Gets the VTTerminalType property (java.lang.String) value. |
void |
setCodePage(java.lang.String codePage)
Sets the codePage property (java.lang.String) value. |
void |
setKeyStoreFilePath(java.lang.String kFilePath)
Sets the KeyStoreFilePath property (java.lang.String) value. |
void |
setKeyStorePassword(java.lang.String kPW)
Sets the KeyStorePassword property (java.lang.String) value. |
void |
setScreenSize(java.lang.String screenSize)
Sets the screenSize property (java.lang.String) value. |
void |
setSshPassword(java.lang.String sshPW)
Sets the SshPassword property (java.lang.String) value. |
void |
setSshPublicKeyAlias(java.lang.String kAlias)
Sets the SshPublicKeyAlias property (java.lang.String) value. |
void |
setSshPublicKeyAliasPassword(java.lang.String kAliasPW)
Sets the SshPublicKeyAliasPassword property (java.lang.String) value. |
void |
setSshUserID(java.lang.String sshUserID)
Sets the SshUserID property (java.lang.String) value. |
void |
setUseSshPublicKeyAuthentication(java.lang.Boolean useSPKA)
Sets the UseSshPublicKeyAuthentication property (java.lang.Boolean) value. |
void |
setVTAutoWrap(java.lang.Boolean VTAutoWrap)
Sets the VTAutoWrap property (java.lang.Boolean) value. |
void |
setVTLocalEcho(java.lang.Boolean VTLocalEcho)
Sets the VTLocalEcho property (java.lang.Boolean) value. |
void |
setVTNewLine(java.lang.Boolean VTNewLine)
Sets the VTNewLine property (java.lang.Boolean) value. |
void |
setVTTerminalType(java.lang.String VTTerminalType)
Sets the VTTerminalType property (java.lang.String) value. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public J2HODVTManagedConnectionFactory()
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 getScreenSize()
setScreenSize(java.lang.String)
public java.lang.Boolean getVTAutoWrap()
setVTAutoWrap(java.lang.Boolean)
public java.lang.Boolean getVTLocalEcho()
setVTLocalEcho(java.lang.Boolean)
public java.lang.Boolean getVTNewLine()
setVTNewLine(java.lang.Boolean)
public java.lang.String getVTTerminalType()
setVTTerminalType(java.lang.String)
public java.lang.String getSshUserID()
setSshUserID(java.lang.String)
public java.lang.String getSshPassword()
setSshPassword(java.lang.String)
public java.lang.Boolean getUseSshPublicKeyAuthentication()
setUseSshPublicKeyAuthentication(java.lang.Boolean)
public java.lang.String getKeyStoreFilePath()
setKeyStoreFilePath(java.lang.String)
public java.lang.String getKeyStorePassword()
setKeyStorePassword(java.lang.String)
public java.lang.String getSshPublicKeyAlias()
setSshPublicKeyAlias(java.lang.String)
public java.lang.String getSshPublicKeyAliasPassword()
setSshPublicKeyAliasPassword(java.lang.String)
public void setCodePage(java.lang.String codePage)
codePage
- java.lang.String - The new value for the propertygetCodePage()
public void setScreenSize(java.lang.String screenSize)
screenSize
- java.lang.String - The new value for the propertygetScreenSize()
public void setVTAutoWrap(java.lang.Boolean VTAutoWrap)
VTAutoWrap
- java.lang.Boolean - The new value for the propertygetVTAutoWrap()
public void setVTLocalEcho(java.lang.Boolean VTLocalEcho)
VTLocalEcho
- java.lang.Boolean - The new value for the propertygetVTLocalEcho()
public void setVTNewLine(java.lang.Boolean VTNewLine)
VTNewLine
- java.lang.Boolean - The new value for the propertygetVTNewLine()
public void setVTTerminalType(java.lang.String VTTerminalType)
VTTerminalType
- java.lang.String - The new value for the propertygetVTTerminalType()
public void setSshUserID(java.lang.String sshUserID)
sshUserID
- java.lang.String - The new value for the propertygetSshUserID()
public void setSshPassword(java.lang.String sshPW)
sshPW
- java.lang.String - The new value for the propertygetSshPassword()
public void setUseSshPublicKeyAuthentication(java.lang.Boolean useSPKA)
useSPKA
- java.lang.Boolean - The new value for the propertygetUseSshPublicKeyAuthentication()
public void setKeyStoreFilePath(java.lang.String kFilePath)
kFilePath
- java.lang.String - The new value for the propertygetKeyStoreFilePath()
public void setKeyStorePassword(java.lang.String kPW)
kPW
- java.lang.String - The new value for the propertygetKeyStorePassword()
public void setSshPublicKeyAlias(java.lang.String kAlias)
kAlias
- java.lang.String - The new value for the propertygetSshPublicKeyAlias()
public void setSshPublicKeyAliasPassword(java.lang.String kAliasPW)
kAliasPW
- java.lang.String - The new value for the propertygetSshPublicKeyAliasPassword()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |