public abstract class CICSConnectionFactory
extends java.lang.Object
implements javax.resource.cci.ConnectionFactory
It provides support for the logWriter, timeout, JNDI reference and metadata properties. It also manages the managed connection factory and connection manager references.
Modifier and Type | Method and Description |
---|---|
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.
|
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