Class CobolManagedConnection.aCobolCon

This class represents a physical connection to an underlying EIS.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
java.lang.Object

extended by com.microfocus.cobol.connector.cci.CobolConnection

  • extended bycom.microfocus.cobol.connector.spi.CobolManagedConnection.aCobolCon

All Implemented Interfaces

Connection, MFCobolConnection, Serializable

Enclosing Class

CobolManagedConnection

Class Specifications

public class CobolManagedConnection.aCobolCon

extends CobolConnection

implements Connection, MFCobolConnection, Serializable

See Also:

Serialized Form

Methods

Method Summary
void close()

Close the CobolConnection handle.

protected void associateConnection(CobolManagedConnection newMc, String sessionId)

Associate a connection handle with a physical managed connection.

protected void invalidate()

Invalidate a Managed Connection.

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.resource.cci.Connection
createInteraction, getLocalTransaction, getMetaData, getResultSetInfo
Methods inherited from class com.microfocus.cobol.connector.cci.MFCobolConnection
activate, dispose, passivate, resetXSFlow

Method Detail

close
public void close()
           throws ResourceException

Close the CobolConnection handle.

Description copied from class:
CobolConnection
Specified by:
close in interface Connection
Overrides:
close in class CobolConnection
Throws:
ResourceException
associateConnection
protected void associateConnection(CobolManagedConnection newMc)
                            throws ResourceException

Associate a connection handle with a physical managed connection.

Description copied from class:
CobolConnection
Overrides:
associateConnection in class CobolConnection
Parameters:
newMc The Managed Connection instance.
Throws:
ResourceException
invalidate
protected void invalidate()

Invalidate a Managed Connection.

Description copied from class:
CobolConnection
Overrides:
invalidate in class CobolConnection