|
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
com.ibm.connector2.cics.ECIManagedConnectionFactory
public final class ECIManagedConnectionFactory
An ECIManagedConnectionFactory is used to create physical ECI connections to the CICS Transaction Gateway. In managed mode this is controlled by the J2EE application server and properties are set by configuring the ConnectionFactory objects via the application server. In non-managed mode the client application is required to create an instance of this class and set the relevant properties itself. Once this is done a ConnectionFactory object can be obtained which will inherit these properties.
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 | |
---|---|
ECIManagedConnectionFactory()
|
Method Summary | |
---|---|
java.lang.Object |
createConnectionFactory()
This method is the default route to creating ECIConnectionFactory objects. |
java.lang.Object |
createConnectionFactory(javax.resource.spi.ConnectionManager cm)
This method allows a ConnectionManager to be specified as the one to be used by the returned ECIConnectionFactory. |
boolean |
equals(java.lang.Object inObj)
This method returns true if two ECIManagedConnectionFactory objects are equal. |
java.lang.String |
getTPNName()
Accessor for TPNName. |
java.lang.String |
getTranName()
Accessor for tranName. |
int |
hashCode()
Returns a hashcode based on all configurable properties. |
void |
setTPNName(java.lang.String name)
Setter for TPNName. |
void |
setTranName(java.lang.String name)
Setter for tranName. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ECIManagedConnectionFactory()
Method Detail |
---|
public java.lang.Object createConnectionFactory() throws javax.resource.ResourceException
javax.resource.ResourceException
public int hashCode()
hashCode
in interface javax.resource.spi.ManagedConnectionFactory
hashCode
in class CICSManagedConnectionFactory
public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager cm) throws javax.resource.ResourceException
cm
- The ConnectionManager object to associate with the new ECIConnectionFactory.
javax.resource.ResourceException
public boolean equals(java.lang.Object inObj)
equals
in interface javax.resource.spi.ManagedConnectionFactory
equals
in class CICSManagedConnectionFactory
inObj
- The object to be tested for equality.
public java.lang.String toString()
toString
in class CICSManagedConnectionFactory
public java.lang.String getTranName()
public java.lang.String getTPNName()
public void setTranName(java.lang.String name)
name
- The new tranName to use.public void setTPNName(java.lang.String name)
name
- The new TPNName to use.
|
©Copyright IBM Corp. 1994, 2014 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |