com.microfocus.cobol.connector.spi.CobolManagedConnection
public class CobolManagedConnection
extends Object
implements ManagedConnectionFactory, Serializable
See Also:
public void resetMC()
public void setXAConnection(com.microfocus.cobol.connector.ti.XAConnection xa)
public void resetXAFlow()
public boolean getResetXAFlow()
public void setCallerPrincipal(Principal aPrincipal)
public void activate() throws ResourceException
public void passivate() throws ResourceException
public void setConnection(com.microfocus.cobol.connector.ti.Connection con)
public void setSupportsXA(boolean xa)
public void setSupportsLocalTx(boolean xa)
public void setUser (String user)
public void setSubject(Subject sub)
public void setManagedConnectionFactory (ManagedConnectionFactory xa)
public com.microfocus.cobol.connector.ti.XAConnection getXAConnection()
public com.microfocus.cobol.connector.ti.Connection getConnection()
public boolean getSupportsXA()
public boolean getSupportsLocalTx()
public String getUser()
public Subject getSubject()
public ManagedConnectionFactory getManagedConnectionFactory()
public Object getConnection(Subject subject, ConnectionRequestInfo connectionRequestInfo) throws ResourceException
public void destroy() throws ResourceException
public void dispose() throws ResourceException
public void cleanup() throws ResourceException
public void associateConnection(Object connection) throws ResourceException
public void addConnectionEventListener(ConnectionEventListener listener)
public void removeConnectionEventListener(ConnectionEventListener listener)
public XAResource getXAResource() throws ResourceException
public LocalTransaction getLocalTransaction() throws ResourceException
public ManagedConnectionMetaData getMetaData() throws ResourceException
public void setLogWriter(PrintWriter out) throws ResourceException
public PrintWriter getLogWriter() throws ResourceException
public com.microfocus.cobol.connector.ti.Connection getCobolConnection() throws ResourceException
public com.microfocus.cobol.connector.ti.XAConnection getXACobolConnection() throws ResourceException
public boolean isDestroyed()
public String getUserName()
public void sendEvent(int eventType, Exception ex)
public void sendEvent(int eventType, Exception ex, Object connectionHandle)
public void removeCobolConnection(CobolConnection cciCon)
public void addCobolConnection(CobolConnection cciCon)
public String getSessionId() throws ResourceException
public void resetLocalTransaction()
public static void addGUID(String GUID)
public static void addPhy()
public static void deleteGUID(String GUID)
public static void deletePhy()
public void disconnectConnection(ManagedConnection mc)
public static void DisposedCount()
public static void dumpGUID()
public static long getDispose()
public static long getGUIDSCreated()
public static long getGUIDSDestroyed()
public static long getGUIDSInUse()
public static long getPhyCreated()
public static long getPhyInDestroyed()
public static long getPhyInUse()