|
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.CICSConnectionFactory
public abstract class CICSConnectionFactory
This abstract class provides the framework for CICS connection factories.
It provides support for the logWriter, timeout, JNDI reference and metadata properties. It also manages the managed connection factory and connection manager references.
Method Summary | |
---|---|
javax.resource.cci.Connection |
getConnection()
Returns a connection within a non-managed environment. |
javax.resource.cci.RecordFactory |
getRecordFactory()
This will throw a NotSupportedException if invoked. |
javax.naming.Reference |
getReference()
Return the reference object associated with this object. |
void |
setReference(javax.naming.Reference newRef)
Sets the reference instance. |
java.lang.String |
toString()
Return a string representation of this instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.resource.cci.ConnectionFactory |
---|
getConnection, getMetaData |
Method Detail |
---|
public void setReference(javax.naming.Reference newRef)
newRef
- A reference object.public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
public javax.resource.cci.RecordFactory getRecordFactory() throws javax.resource.ResourceException
getRecordFactory
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
- if invoked.public javax.resource.cci.Connection getConnection() throws javax.resource.ResourceException
getConnection
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
- if an invalid connection is returned.public java.lang.String toString()
toString
in class java.lang.Object
|
©Copyright IBM Corp. 1994, 2014 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |