com.microfocus.cobol.connector.ti
Class CobolSystemConnection

java.lang.Object
  extended bycom.microfocus.cobol.connector.PureCobolBean
      extended bycom.microfocus.cobol.connector.ti.CobolSystemConnection
All Implemented Interfaces:
Connection, Serializable, XAConnection

public class CobolSystemConnection
extends PureCobolBean
implements Connection, XAConnection

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.microfocus.cobol.connector.ti.Connection
TRANSACTION_NONE
 
Constructor Summary
CobolSystemConnection(String connectionUrl)
           
 
Method Summary
 void activateLogger()
           
 void begin()
           
 void clean()
           
 void clearWarnings()
           
 void close()
           
 void commit()
           
static long getDisconnects()
           
 SpiLocalTransaction getLocalTransaction(CobolManagedConnection mc)
           
 ConnectionMetaData getMetaData()
           
 String getSessionID()
           
 Throwable getWarnings()
           
 XAResource getXAResource(CobolManagedConnection mc)
           
 void resetLocalTransaction()
           
 void rollback()
           
 void setSubjectBeanProps(javax.security.auth.Subject subject)
           
 void setUserBeanProps(String user, String passwd, String realm)
           
 void xa_close()
           
 
Methods inherited from class com.microfocus.cobol.connector.PureCobolBean
Activate, cobcall, cobcall, Disconnect, dispose, getActiveConnection, getActiveConnectionCount, getActiveConnectionDebugInfo, getActiveConnections, getBeanProperty, getBeanProperty, getIsInitial, getSessionIdentifier, getTimeout, isConnected, Passivate, setBeanIsInitial, setBeanProperty, setRemoteBeanURL, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CobolSystemConnection

public CobolSystemConnection(String connectionUrl)
                      throws com.microfocus.cobol.CobolException,
                             Exception
Method Detail

setUserBeanProps

public void setUserBeanProps(String user,
                             String passwd,
                             String realm)
                      throws com.microfocus.cobol.CobolException
Throws:
com.microfocus.cobol.CobolException

setSubjectBeanProps

public void setSubjectBeanProps(javax.security.auth.Subject subject)
                         throws com.microfocus.cobol.CobolException
Throws:
com.microfocus.cobol.CobolException

close

public void close()
           throws com.microfocus.cobol.CobolException
Specified by:
close in interface Connection
Throws:
com.microfocus.cobol.CobolException

begin

public void begin()
           throws com.microfocus.cobol.CobolException
Specified by:
begin in interface Connection
Throws:
com.microfocus.cobol.CobolException

commit

public void commit()
            throws com.microfocus.cobol.CobolException
Specified by:
commit in interface Connection
Throws:
com.microfocus.cobol.CobolException

rollback

public void rollback()
              throws com.microfocus.cobol.CobolException
Specified by:
rollback in interface Connection
Throws:
com.microfocus.cobol.CobolException

clearWarnings

public void clearWarnings()
                   throws com.microfocus.cobol.CobolException
Specified by:
clearWarnings in interface Connection
Throws:
com.microfocus.cobol.CobolException

getWarnings

public Throwable getWarnings()
                      throws com.microfocus.cobol.CobolException
Specified by:
getWarnings in interface Connection
Throws:
com.microfocus.cobol.CobolException

xa_close

public void xa_close()
              throws com.microfocus.cobol.CobolException
Specified by:
xa_close in interface XAConnection
Throws:
com.microfocus.cobol.CobolException

getXAResource

public XAResource getXAResource(CobolManagedConnection mc)
                                              throws com.microfocus.cobol.CobolException
Specified by:
getXAResource in interface XAConnection
Throws:
com.microfocus.cobol.CobolException

getLocalTransaction

public SpiLocalTransaction getLocalTransaction(CobolManagedConnection mc)
                                        throws com.microfocus.cobol.CobolException
Specified by:
getLocalTransaction in interface Connection
Throws:
com.microfocus.cobol.CobolException

getMetaData

public ConnectionMetaData getMetaData()
                               throws com.microfocus.cobol.CobolException
Specified by:
getMetaData in interface Connection
Throws:
com.microfocus.cobol.CobolException

getSessionID

public String getSessionID()
Specified by:
getSessionID in interface Connection

activateLogger

public void activateLogger()

resetLocalTransaction

public void resetLocalTransaction()
Specified by:
resetLocalTransaction in interface Connection

getDisconnects

public static long getDisconnects()

clean

public void clean()



Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.