public abstract class CICSManagedConnectionFactory extends java.lang.Object implements javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ValidatingManagedConnectionFactory, CICSLogTraceLevels, javax.resource.spi.ResourceAdapterAssociation
RAS_TRACE_ENTRY_EXIT, RAS_TRACE_ERROR_EXCEPTION, RAS_TRACE_INTERNAL, RAS_TRACE_OFF| Constructor and Description |
|---|
CICSManagedConnectionFactory()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Adds a PropertyChangeListener.
|
boolean |
equals(java.lang.Object inObj)
Returns a flag indicating whether the objects are identical or not.
|
void |
firePropertyChange(java.lang.String strPropertyName,
java.lang.Object oOld,
java.lang.Object oNew)
Fires a PropertyChangeEvent to any listeners.
|
java.lang.String |
getApplid()
Get the applid for this connection.
|
java.lang.String |
getApplidQualifier()
Get the applid qualifier for this connection.
|
java.lang.String |
getCipherSuites()
Return the comma delimited list of cipher suites a SSL connection
is able to use.
|
java.lang.String |
getClientSecurity()
Get the client security class name.
|
java.lang.String |
getConnectionURL()
Get the CICS TG gateway URL.
|
java.lang.String |
getInterceptPlugin()
Gets the name of the
GatewayIntercept plug-in class for this managed
connection factory. |
java.util.Set |
getInvalidConnections(java.util.Set connectionSet)
Returns a Set of invalid connections (those that have been identified as
dirty) from the entire set of CICS managed connections that currently exist
|
java.lang.String |
getKeyRingClass()
Get the key ring class name to use for an SSL connection.
|
java.lang.String |
getKeyRingPassword()
Get the key ring password to use for an SSL connection.
|
com.ibm.connector2.cics.CICSLogHelper |
getLogHelper()
Get the log helper object.
|
java.io.PrintWriter |
getLogWriter()
Return the current log writer for this instance.
|
java.lang.String |
getPassword()
Get the password or password phrase for this connection.
|
java.lang.String |
getPortNumber()
Get the port to communicate with the CICS TG on.
|
java.lang.String |
getRequestExits()
Get the requestExits for this connection.
|
java.lang.String |
getServerName()
Return the server to connect to (must be defined to the CICS TG).
|
java.lang.String |
getServerSecurity()
Get the server security class name.
|
java.lang.String |
getSocketConnectTimeout()
Returns the socket connect timeout value for a connection to CICS TG.
|
java.lang.Integer |
getTraceLevel()
Get the trace level for this managed connection factory.
|
java.lang.String |
getUserName()
Get the username for this connection.
|
int |
hashCode()
Returns a hashcode based on connectionURL, serverName and portNumber
which uniquely identifies the backend server.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes a PropertyChangeListener.
|
void |
setLogWriter(java.io.PrintWriter newLog)
Set the log writer to be used by this object.
|
java.lang.String |
toString()
Return a string representation of this object.
|
public CICSManagedConnectionFactory()
public java.lang.String getConnectionURL()
public java.lang.String getServerName()
public java.lang.String getUserName()
public java.lang.String getRequestExits()
public java.lang.String getApplid()
public java.lang.String getApplidQualifier()
public java.lang.String getPassword()
public java.lang.String getPortNumber()
public java.lang.String getSocketConnectTimeout()
public java.lang.String getClientSecurity()
public java.lang.String getServerSecurity()
public java.lang.String getKeyRingClass()
public java.lang.String getKeyRingPassword()
public java.lang.String getCipherSuites()
public java.util.Set getInvalidConnections(java.util.Set connectionSet)
throws javax.resource.ResourceException
getInvalidConnections in interface javax.resource.spi.ValidatingManagedConnectionFactoryconnectionSet - The set of all CICS managed connectionsjavax.resource.ResourceExceptionpublic java.io.PrintWriter getLogWriter()
getLogWriter in interface javax.resource.spi.ManagedConnectionFactorypublic void setLogWriter(java.io.PrintWriter newLog)
setLogWriter in interface javax.resource.spi.ManagedConnectionFactorynewLog - The PrintWriter object to use.public java.lang.Integer getTraceLevel()
CICSLogTraceLevelspublic java.lang.String getInterceptPlugin()
GatewayIntercept plug-in class for this managed
connection factory.public com.ibm.connector2.cics.CICSLogHelper getLogHelper()
public int hashCode()
hashCode in interface javax.resource.spi.ManagedConnectionFactoryhashCode in class java.lang.Objectpublic boolean equals(java.lang.Object inObj)
equals in interface javax.resource.spi.ManagedConnectionFactoryequals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - java.beans.PropertyChangeListener.public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
pcl - java.beans.PropertyChangeListener.public void firePropertyChange(java.lang.String strPropertyName,
java.lang.Object oOld,
java.lang.Object oNew)
strPropertyName - java.lang.String.oOld - java.lang.Object.oNew - java.lang.Object.