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.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 (applicable only to SSL protocol).
|
java.lang.String |
getKeyRingPassword()
Get the key ring password (applicable only to SSL protocol(s)).
|
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.ValidatingManagedConnectionFactory
connectionSet
- The set of all CICS managed connectionsjavax.resource.ResourceException
public java.io.PrintWriter getLogWriter()
getLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
public void setLogWriter(java.io.PrintWriter newLog)
setLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
newLog
- The PrintWriter object to use.public java.lang.Integer getTraceLevel()
CICSLogTraceLevels
public com.ibm.connector2.cics.CICSLogHelper getLogHelper()
public int hashCode()
hashCode
in interface javax.resource.spi.ManagedConnectionFactory
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object inObj)
equals
in interface javax.resource.spi.ManagedConnectionFactory
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public 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.