|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.connector.IeConnection
CCI connection to Info*Engine
A CCI connection represents a handle to a connection and not
a physical connection. Calling the close method does not close the
underlying physical connection but allows an application server to
mark the connection as available and return it to a connection pool.
Field Summary | |
private boolean |
closed
|
private Log |
log
|
private IeManagedConnection |
managedCx
|
private IeCCILocalTransaction |
transaction
|
Constructor Summary | |
(package private) |
IeConnection(IeManagedConnection managed,
Log l)
create a connection handle associated with a ManagedConnection |
Method Summary | |
void |
close()
close this connection handle closing a handle doesn't actually close the physical connection to the EIS it simply allows marks a connection as available allowing an application server to return the connection to a connection pool. |
javax.resource.cci.Interaction |
createInteraction()
create an interaction from this connection that can be used to invoke business methods on the underlying EIS. |
(package private) IeManagedConnection |
getIeManagedConnection()
get the managed connection this handle is associated with |
javax.resource.cci.LocalTransaction |
getLocalTransaction()
get a LocalTransaction instance that an application can use to manually demarcate a transaction. |
javax.resource.cci.ConnectionMetaData |
getMetaData()
get the metadata associated with this connection |
(package private) PhysicalConnection |
getPhysicalConnection()
get the physical connection object this handle is associated with |
javax.resource.cci.ResultSetInfo |
getResultSetInfo()
results sets are not supported. |
(package private) void |
setIeManagedConnection(IeManagedConnection managed)
associate this connection handle with another managed connection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private IeManagedConnection managedCx
private IeCCILocalTransaction transaction
private boolean closed
private Log log
Constructor Detail |
IeConnection(IeManagedConnection managed, Log l) throws javax.resource.ResourceException
managed
- the managed connectionl
- LogMethod Detail |
void setIeManagedConnection(IeManagedConnection managed)
managed
- the new managed connectionIeManagedConnection getIeManagedConnection()
public void close() throws javax.resource.ResourceException
close
in interface javax.resource.cci.Connection
javax.resource.ResourceException
public javax.resource.cci.Interaction createInteraction() throws javax.resource.ResourceException
createInteraction
in interface javax.resource.cci.Connection
javax.resource.ResourceException
IllegalStateException
- if this handle is closedpublic javax.resource.cci.LocalTransaction getLocalTransaction() throws javax.resource.ResourceException
getLocalTransaction
in interface javax.resource.cci.Connection
javax.resource.ResourceException
IllegalStateException
- if this handle is closedPhysicalConnection getPhysicalConnection()
IllegalStateException
- if this handle is closedpublic javax.resource.cci.ConnectionMetaData getMetaData() throws javax.resource.ResourceException
getMetaData
in interface javax.resource.cci.Connection
javax.resource.ResourceException
IllegalStateException
- if this handle is closedpublic javax.resource.cci.ResultSetInfo getResultSetInfo() throws javax.resource.ResourceException
getResultSetInfo
in interface javax.resource.cci.Connection
javax.resource.ResourceException
NotSupportedException
- always
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |