|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.microfocus.cobol.connector.cci.CobolConnection
CobolConnection class represents an application level connection handle that is used by a component to access a Cobol Server instance.
| Constructor Summary | |
protected |
CobolConnection(CobolManagedConnection mc)
Cobol Connection is obtained through a CobolConnection Factory. |
| Method Summary | |
void |
activate()
|
protected void |
associateConnection(CobolManagedConnection newMc)
Associate a connection handle with a physical managed connection |
void |
close()
close the CobolConnection handle |
Interaction |
createInteraction()
Create an interaction with the Cobol Server. |
void |
dispose()
dispose a cobol connection. |
EJBContext |
getEJBContext()
Get the EJBContext |
LocalTransaction |
getLocalTransaction()
Get the Local Transaction instance that needs to be used by the bean. |
protected CobolManagedConnection |
getManagedConnection()
Get the Managed Connection associated with this connection handle. |
ConnectionMetaData |
getMetaData()
Get Connection Meta data. |
ResultSetInfo |
getResultSetInfo()
Result Set is not supported |
protected void |
invalidate()
Invalidate a Managed Connection |
void |
passivate()
|
void |
resetLocalTransaction()
|
void |
resetXAFlow()
|
void |
setEJBContext(EJBContext e)
Set the EJB context that the CobolConnection can later use to determine if the bean is stateful or stateless. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected CobolConnection(CobolManagedConnection mc)
mc - The Managed Connection instance.| Method Detail |
public void setEJBContext(EJBContext e)
throws RemoteException
e - the EJBContext to be setRemoteException - public EJBContext getEJBContext()
public Interaction createInteraction()
throws ResourceException
createInteraction in interface ConnectionResourceException - CobolInteraction
public LocalTransaction getLocalTransaction()
throws ResourceException
getLocalTransaction in interface ConnectionResourceException - CobolLocalTransaction
public ResultSetInfo getResultSetInfo()
throws ResourceException
getResultSetInfo in interface ConnectionResourceException -
public void close()
throws ResourceException
close in interface ConnectionResourceException -
public ConnectionMetaData getMetaData()
throws ResourceException
getMetaData in interface ConnectionResourceException - CobolConnectionMetaData
public void dispose()
throws ResourceException
dispose in interface MFCobolConnection - ResourceException -
public void activate()
throws ResourceException
activate in interface MFCobolConnection
public void passivate()
throws ResourceException
passivate in interface MFCobolConnection
protected void associateConnection(CobolManagedConnection newMc)
throws ResourceException
newMc - The Managed connection instance.ResourceException - protected void invalidate()
protected CobolManagedConnection getManagedConnection()
public void resetXAFlow()
resetXAFlow in interface MFCobolConnectionpublic void resetLocalTransaction()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.