com.ibm.connector2.ims.ico.inbound
Class IMSActivationSpec
- java.lang.Object
WBIActivationSpecWithXid
com.ibm.connector2.ims.ico.inbound.IMSActivationSpec
- public class IMSActivationSpec
- extends WBIActivationSpecWithXid
- implements com.ibm.ims.ico.IMSICOProperties, java.io.Serializable
Field Summary
Fields inherited from interface com.ibm.ims.ico.IMSICOProperties |
---|
COMMIT_THEN_SEND, DEFAULT_ALTCLIENTID_NAME, DEFAULT_CANCELTIMER, DEFAULT_CM0DEDICATED, DEFAULT_CM0RESPONSE, DEFAULT_COMMIT_MODE, DEFAULT_CONVID_HEX_ZEROES, DEFAULT_CONVID_STRING, DEFAULT_CURRENT_SEGMENT, DEFAULT_DATASTORE_NAME, DEFAULT_ENCRYPTYPE, DEFAULT_GROUPNAME, DEFAULT_HOSTNAME, DEFAULT_IGNORE_PURG_CALL, DEFAULT_IMSCONNNAME, DEFAULT_ISSSL, DEFAULT_KEYSTORENAME, DEFAULT_KEYSTOREPASSWD, DEFAULT_LTERM_NAME, DEFAULT_MAP_NAME, DEFAULT_PASSWORD, DEFAULT_PORTNUMBER, DEFAULT_REROUTE_NAME, DEFAULT_TRANSEXPIRATION, DEFAULT_TRUSTSTORENAME, DEFAULT_TRUSTSTOREPASSWD, DEFAULT_USECONVID, DEFAULT_USERNAME, ENCRYPTYPE_0, ENCRYPTYPE_1, ENCRYPTYPE_2, IBM_SSL_CERT_TYPE, MAX_ALTCLIENTIDNAME, MAX_CIPHER_ARRAY, MAX_CLIENTID, MAX_CONVID_STRING, MAX_DATASTORENAME, MAX_GROUPNAME, MAX_IMSCONNNAME, MAX_LTERMNAME, MAX_MAPNAME, MAX_PASSWORD, MAX_REROUTENAME, MAX_SSLSTOREPASSWORD, MAX_USERNAME, MODE_ACK_TEXT, MODE_COMMIT_TEXT, MODE_END_CONVERSATION_TEXT, MODE_FORGET_TEXT, MODE_NACK_TEXT, MODE_PREPARE_TEXT, MODE_RECEIVE_ASYNCOUTPUT_AUTO_TEXT, MODE_RECEIVE_ASYNCOUTPUT_SINGLE_NOWAIT_TEXT, MODE_RECEIVE_ASYNCOUTPUT_SINGLE_WAIT_TEXT, MODE_RECEIVE_ASYNCOUTPUT_TEXT, MODE_RECEIVE_TEXT, MODE_RECOVER_TEXT, MODE_ROLLBACK_TEXT, MODE_SEND_ONLY_TEXT, MODE_SEND_RECEIVE_TEXT, MODE_SYNCCAL_RESPONSE_TEXT, SEND_THEN_COMMIT, SSL_PROVIDER, SSL_STORE_TYPE_JCE4758RACFKS, SSL_STORE_TYPE_JCERACFKS, SSL_STORE_TYPE_JKS, SUN_SSL_CERT_TYPE, SYNC_LEVEL_CONFIRM, SYNC_LEVEL_NONE, SYNC_LEVEL_SYNCPT |
Constructor Summary
Constructor and Description |
---|
IMSActivationSpec()
The default constructor
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener for all the properties.
|
|
firePropertyChange(java.lang.String propertyName,java.lang.Object oldValue,java.lang.Object newValue)
The firePropertyChange method was generated to support the propertyChange field.
|
|
getDataStoreName()
Returns the value of the DataStoreName property.
|
|
getGroupName()
Returns the groupName property value.
|
|
getHostName()
Returns the HostName property value.
|
|
getPassword()
Returns the Password property value.
|
|
getPasswordPhrase()
Returns the password phrase property value.
|
|
getPortNumber()
Returns the value of the PortNumber property.
|
|
getPropertyChange()
Return a PropertyChangeSupport object to be used to
maintain a property change listener list and fire property
change events for the IMSActivationSpec object.
|
|
getQueueNames()
Returns the value of the QueueNames property.
|
|
getRetryInterval()
Returns the value of the retryInterval property of
an IMSActivationSpec instance.
|
|
getRetryLimit()
Returns the value of the retryLimit property of
an IMSActivationSpec instance.
|
|
getSSLEnabled()
Returns the value of the SSLEnabled property.
|
|
getSSLEncryptionType()
Returns the value of the SSLEncryptionType property.
|
|
getSSLKeyStoreName()
Returns the value of the SSLKeyStoreName property.
|
|
getSSLKeyStorePassword()
Returns the value of the SSLKeyStorePassword property.
|
|
getSSLTrustStoreName()
Returns the value of the SSLTrustStoreName property.
|
|
getSSLTrustStorePassword()
Returns the value of the SSLTrustStorePassword property.
|
|
getUserName()
Returns the UserName property value.
|
|
setDataStoreName(java.lang.String newDataStoreName)
Sets the value of the DataStoreName property of an
IMSActivationSpec instance.
|
|
setGroupName(java.lang.String groupName)
Sets the value of the GroupName property of
an IMSActivationSpec instance.
|
|
setHostName(java.lang.String hostName)
Sets the value of the HostName property of
an IMSActivationSpec instance.
|
|
setPassword(java.lang.String password)
Sets the value of the Password property of
an IMSActivationSpec instance.
|
|
setPasswordPhrase(java.lang.String password)
Sets the value of the password phrase property.
|
|
setPortNumber(java.lang.Integer portNumber)
Sets the value of the PortNumber property
of an IMSActivationSpec instance.
|
|
setQueueNames(java.lang.String queueNames)
Sets the value of the QueueNames property on an
IMSActivationSpec instance.
|
|
setRetryInterval(java.lang.Integer interval)
Specifies the time delay before trying to
restart the listener on IMS Connect.
|
|
setRetryLimit(java.lang.Integer n)
Sets the value of the retryLimit property of
an IMSActivationSpec instance.
|
|
setSSLEnabled(java.lang.Boolean isSSL)
Sets the value of the SSLEnabled property
of an IMSActivationSpec instance.
|
|
setSSLEncryptionType(java.lang.String aEncrypType)
Sets the value of the SSLEncryptionType property
of an IMSActivationSpec instance.
|
|
setSSLKeyStoreName(java.lang.String aKeyStoreName)
Sets the value of the SSLKeyStoreName property
of an IMSActivationSpec instance.
|
|
setSSLKeyStorePassword(java.lang.String aKeyStorePasswd)
Sets the value of the SSLKeyStorePassword property
of an IMSActivationSpec instance.
|
|
setSSLTrustStoreName(java.lang.String aTrustStoreName)
Sets the value of the SSLTrustStoreName property
of an IMSActivationSpec instance.
|
|
setSSLTrustStorePassword(java.lang.String aTrustStorePasswd)
Sets the value of the SSLTrustStorePassword property
of an IMSActivationSpec instance.
|
|
setUserName(java.lang.String userName)
Sets the value of the UserName property
of an IMSActivationSpec instance.
|
|
validate()
Validates the configuration properties specified on the
IMSActivationSpec instance to ensure they comply with
documented constraints.
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
IMSActivationSpec
- public IMSActivationSpec()
Method Detail
getDataStoreName
- public java.lang.String getDataStoreName( )
setDataStoreName
- public void setDataStoreName(java.lang.String newDataStoreName)
newDataStoreName
- - A comma-delimited list of data store names.
Each data store name in the list must match the ID parameter of the
Datastore statement that is specified in the IMS Connect
configuration member when IMS Connect is installed. It also serves
as the XCF member name for IMS during internal XCF communications
between IMS Connect and OTMA. javax.resource.ResourceException
- - If the length of aDataStoreName is zero or greater than the maximum allowable length (8).
- If value of aDataStoreName is null.
Note: The tooling may ignore these exceptions, in which case default values will be used and an exception will be thrown later.
getPortNumber
- public java.lang.Integer getPortNumber( )
setPortNumber
- public void setPortNumber(java.lang.Integer portNumber)
This property applies to TCP/IP communication only.
portNumber
- The new value for the
PortNumber property. This
property represents the number
of a port used by the target
IMS Connect for TCP/IP
connections (sockets). javax.resource.ResourceException
- - If aPortNumber is null.
Note: The tooling may ignore these exceptions, in which case default values will be used and an exception will be thrown later.
getQueueNames
- public java.lang.String getQueueNames( )
setQueueNames
- public void setQueueNames(java.lang.String queueNames)
queueNames
- The new value for the QueueNames
property getSSLEncryptionType
- public java.lang.String getSSLEncryptionType( )
getSSLEnabled
- public java.lang.Boolean getSSLEnabled( )
getSSLKeyStoreName
- public java.lang.String getSSLKeyStoreName( )
getSSLKeyStorePassword
- public java.lang.String getSSLKeyStorePassword( )
getSSLTrustStoreName
- public java.lang.String getSSLTrustStoreName( )
getSSLTrustStorePassword
- public java.lang.String getSSLTrustStorePassword( )
setSSLEnabled
- public void setSSLEnabled(java.lang.Boolean isSSL)
isSSL
- The new value for the
SSLEnabled property.
This property is only valid for TCP/IP connections.
A value of true indicates that IMS Connector for
Java will create an SSL socket connection to IMS Connect
using the HostName and PortNumber specified in these
connection properties. This port must be configured as
an SSL port by IMS Connect. A value of false indicates
that SSL sockets will not be used for connecting to the
port specified in the Port Number property. setSSLEncryptionType
- public void setSSLEncryptionType( java.lang.String aEncrypType)
- throws javax.resource.ResourceException
This property applies to TCP/IP SSL communication only.
aEncrypType
- The new value, strong or weak, for the
SSLEncryptionType property.
Strong and weak are related to the strength of the ciphers,
that is, the key length. All those ciphers that can be used
for export come under the weak category and the rest go into
the strong category. By default, the encryption type is set to weak. javax.resource.ResourceException
- - If value of SSLEncryptionType is a String other than "strong" or "weak".
Note: The tooling may ignore these exceptions, in which case a default value will be used and an exception will be thrown later.
setSSLKeyStoreName
- public void setSSLKeyStoreName( java.lang.String aKeyStoreName)
- throws javax.resource.ResourceException
This property applies to TCP/IP SSL communication only.
aKeyStoreName
- The new value for the
SSLKeyStoreName property. This is
the name (including its full file path) of the keystore.
Private keys and their associated public key certificates
are stored in password-protected databases called keystores.
For convenience, Trusted certificates can also be stored in
the keystore and the truststore property can either be empty or
could point to the keystore file. An example of a keystore name
is c:\keystore\MyKeystore.ks
Note: The file can have other file extensions; it does not have to be .ks.
Note: A value for SSLKeyStoreName is mandatory if the server (IMS Connect) has been configured to require client authentication. However, this cannot be determined at the time this set method is invoked.
javax.resource.ResourceException
- - If length of aKeyStoreName is 0.
- If aKeyStoreName is null.
Note: The tooling may ignore these exceptions, in which case a default value will be used and an exception will be thrown later.
setSSLTrustStoreName
- public void setSSLTrustStoreName( java.lang.String aTrustStoreName)
- throws javax.resource.ResourceException
This property applies to TCP/IP SSL communication only.
aTrustStoreName
- The new value for the
SSLTrustStoreName property. This is the
full path and name of the location of
the Keystore file containing security
credentials; i.e., certificates .
A value for SSLTrustStoreName is
not mandatory, if a keystore is used.
name (including its full file path) of the truststore.
A truststore file is a key database file that contains
public keys or certificates. For convenience, private
keys can also be stored in the Truststore and the
Keystore property can either be empty or could point
to the Truststore file. An example of a truststore
name is c:\keystore\MyTruststore.ks
Note: The file can have other file extensions; it does not have to be .ks.
javax.resource.ResourceException
- - If Length of aTrustStoreName is 0.
- If aTrustStoreName is null.
Note: The tooling may ignore these exceptions, in which case a default value will be used and an exception will be thrown later.
setSSLTrustStorePassword
- public void setSSLTrustStorePassword( java.lang.String aTrustStorePasswd)
- throws javax.resource.ResourceException
This property applies to TCP/IP SSL communication only.
aTrustStorePasswd
- The new value for the
SSLTrustStorePassword property,
the password for the truststore. A truststore file is a
key database file that contains public keys. javax.resource.ResourceException
- - If Length of aTrustStorePasswd is 0.
- If aTrustStorePasswd is null.
Note: The tooling may ignore these exceptions, in which case default values will be used and an exception will be thrown later.
setSSLKeyStorePassword
- public void setSSLKeyStorePassword( java.lang.String aKeyStorePasswd)
- throws javax.resource.ResourceException
This property applies to TCP/IP SSL communication only.
aKeyStorePasswd
- The new value for the
SSLKeyStorePassword property,
the password for the keystore. Private keys and
their associated public key certificates are stored
in password-protected databases called keystores. javax.resource.ResourceException
- - If Length of aKeyStorePasswd is 0.
- If aKeyStorePasswd is null.
Note: The tooling may ignore these exceptions, in which case default values will be used and an exception will be thrown later.
getHostName
- public java.lang.String getHostName( )
setHostName
- public void setHostName(java.lang.String hostName)
hostName
- getGroupName
- public java.lang.String getGroupName( )
setGroupName
- public void setGroupName(java.lang.String groupName)
groupName
- getPassword
- public java.lang.String getPassword( )
setPassword
- public void setPassword(java.lang.String password)
password
- getUserName
- public java.lang.String getUserName( )
setRetryLimit
- public void setRetryLimit(java.lang.Integer n)
getRetryLimit
- public java.lang.Integer getRetryLimit( )
setRetryInterval
- public void setRetryInterval(java.lang.Integer interval)
getRetryInterval
- public java.lang.Integer getRetryInterval( )
setUserName
- public void setUserName(java.lang.String userName)
userName
- The new value for the
UserName property. This value will be used if no
UserName property is provided by the application component. javax.resource.ResourceException
- - If the length of aUserName is greater than the maximum allowable length (8).
Note: The tooling may ignore these exceptions, in which case default values will be used and an exception will be thrown later.
firePropertyChange
- public void firePropertyChange( java.lang.String propertyName,
- java.lang.Object oldValue,
- java.lang.Object newValue)
getPropertyChange
- public java.beans.PropertyChangeSupport getPropertyChange( )
addPropertyChangeListener
- public void addPropertyChangeListener( java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener to be added. validate
- public void validate()
- throws InvalidPropertyException
InvalidPropertyException
- if one or more property values are invalid } javax.resource.spi.ActivationSpec#validate()
setPasswordPhrase
- public void setPasswordPhrase(java.lang.String password)
getPasswordPhrase
- public java.lang.String getPasswordPhrase( )