|
CICS® Transaction Gateway Programming Reference v1.1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.connector2.cics.CICSManagedConnectionFactory
public abstract class CICSManagedConnectionFactory
Abstract class that provides the managed connection factory framework for CICS resource adapters.
Field Summary |
---|
Fields inherited from interface com.ibm.connector2.cics.CICSLogTraceLevels |
---|
RAS_TRACE_ENTRY_EXIT, RAS_TRACE_ERROR_EXCEPTION, RAS_TRACE_INTERNAL, RAS_TRACE_OFF |
Constructor Summary | |
---|---|
CICSManagedConnectionFactory()
Default constructor. |
Method Summary | |
---|---|
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 CTG gateway URL. |
java.lang.String |
getInterceptPlugin()
Gets the name of the GatewayIntercept plugin class for this managed
connection factory. |
java.util.Set |
getInvalidConnections(java.util.Set connectionSet)
Returns a Set of invalid connections (those that have been identifed as dirty) from the entire set of CICS managed connections that current 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 for this connection. |
java.lang.String |
getPortNumber()
Get the port to communicate with the CTG on. |
java.lang.String |
getRequestExits()
Get the requestExits for this connection. |
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
|
java.lang.String |
getServerName()
Return the server to connect to (must be defined to the CTG). |
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 |
setApplid(java.lang.String newApplid)
Set the applid for this connection. |
void |
setApplidQualifier(java.lang.String newApplidHLQ)
Set the applid qualifier for this connection. |
void |
setCipherSuites(java.lang.String cipherSuites)
Set the cipher suites a SSL connection is able to use. |
void |
setClientSecurity(java.lang.String newClSec)
Set the client security class name to be used. |
void |
setConnectionURL(java.lang.String newURL)
Set the CTG gateway URL. |
void |
setInterceptPlugin(java.lang.String interceptPlugin)
Sets the name of the GatewayIntercept plugin class for this managed
connection factory. |
void |
setKeyRingClass(java.lang.String newKeyRing)
Set the key ring class name to use (applicable and mandatory for SSL protocol(s)). |
void |
setKeyRingPassword(java.lang.String newPassword)
Set the key ring password to use (applicable and mandatory for SSL protocol). |
void |
setLogWriter(java.io.PrintWriter newLog)
Set the log writer to be used by this object. |
void |
setPassword(java.lang.String newPassword)
Set the password for this connection. |
void |
setPortNumber(java.lang.String newPort)
Set the port to communicate with the CTG on. |
void |
setRequestExits(java.lang.String newRequestExits)
Set the requestExits for this connection. |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter cicsRA)
|
void |
setServerName(java.lang.String newServer)
Set the server to connect to (this name must be defined in the CTG config). |
void |
setServerSecurity(java.lang.String newSvrSec)
Set the server security class name to be used. |
void |
setSocketConnectTimeout(java.lang.String newTimeout)
Sets the socket connection timeout value for a connection to CICS TG. |
void |
setTraceLevel(java.lang.Integer newLevel)
Set the trace level for this managed connection factory and anything it creates. |
void |
setUserName(java.lang.String newUser)
Set the username for this connection. |
java.lang.String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.resource.spi.ManagedConnectionFactory |
---|
createConnectionFactory, createConnectionFactory, createManagedConnection, matchManagedConnections |
Constructor Detail |
---|
public CICSManagedConnectionFactory()
Method Detail |
---|
public java.lang.String getConnectionURL()
public void setConnectionURL(java.lang.String newURL)
newURL
- The new CTG gateway URL.public java.lang.String getServerName()
public void setServerName(java.lang.String newServer)
newServer
- The server to connect to.public java.lang.String getUserName()
public void setUserName(java.lang.String newUser)
newUser
- The new username.public java.lang.String getRequestExits()
public void setRequestExits(java.lang.String newRequestExits)
newRequestExits
- The new requestExits.public java.lang.String getApplid()
public void setApplid(java.lang.String newApplid)
newApplid
- The new applid.public java.lang.String getApplidQualifier()
public void setApplidQualifier(java.lang.String newApplidHLQ)
newApplidHLQ
- The new applid qualifier.public java.lang.String getPassword()
public void setPassword(java.lang.String newPassword)
newPassword
- The new password.public java.lang.String getPortNumber()
public void setPortNumber(java.lang.String newPort)
newPort
- The new port number.public java.lang.String getSocketConnectTimeout()
public void setSocketConnectTimeout(java.lang.String newTimeout) throws javax.resource.spi.InvalidPropertyException
newTimeout
- The timeout value (in milliseconds). A value of 0 represents no
timeout. Note the value is passed as a String
javax.resource.spi.InvalidPropertyException
- If a negative value is passedpublic java.lang.String getClientSecurity()
public void setClientSecurity(java.lang.String newClSec)
newClSec
- The client security class name.public java.lang.String getServerSecurity()
public void setServerSecurity(java.lang.String newSvrSec)
newSvrSec
- The server security class name.public java.lang.String getKeyRingClass()
public void setKeyRingClass(java.lang.String newKeyRing)
newKeyRing
- The key ring class name.public java.lang.String getKeyRingPassword()
public void setKeyRingPassword(java.lang.String newPassword)
newPassword
- The key ring class password.public void setCipherSuites(java.lang.String cipherSuites)
cipherSuites
- A comma delimited list of cipher suites.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 connections
javax.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 void setTraceLevel(java.lang.Integer newLevel)
newLevel
- The trace level to use.CICSLogTraceLevels
public java.lang.String getInterceptPlugin()
GatewayIntercept
plugin class for this managed
connection factory.
public void setInterceptPlugin(java.lang.String interceptPlugin)
GatewayIntercept
plugin class for this managed
connection factory.
interceptPlugin
- the name of the Gateway intercept plugin classpublic 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.public javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
public void setResourceAdapter(javax.resource.spi.ResourceAdapter cicsRA) throws javax.resource.ResourceException
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
javax.resource.ResourceException
|
©Copyright IBM Corp. 1994, 2014 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |