Previous Topic Next topic Print topic


Class MFECIManagedConnection

This class represents a physical connection to an underlying EIS.
java.lang.Object

extended by com.microfocus.cics.connector.spi.MFECIManagedConnection

All Implemented Interfaces

Serializable, javax.resource.spi.ManagedConnection

Class Specifications

public class MFECIManagedConnection

extends Object

implements javax.resource.spi.ManagedConnection, Serializable

See Also:

Serialized Form

Nested Class Summary

Methods

Method Summary
void activate()
void addCicsConnection(MFECIConnection cciCon)
void addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
void associateConnection(Object connection)
void cleanup()
void destroy()
void dispose()
com.microfocus.cics.connector.ti.Connection getCicsConnection()
com.microfocus.cics.connector.ti.Connection getConnection()
Object getConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo)
javax.resource.spi.LocalTransaction getLocalTransaction()
PrintWriter getLogWriter()
javax.resource.spi.ManagedConnectionFactory getManagedConnectionFactory()
javax.resource.spi.ManagedConnectionMetaData getMetaData()
boolean getResetXAFlow()
String getSessionId()
boolean getStateful()
Subject getSubject()
boolean getSupportsLocalTx()
boolean getSupportsXA()
boolean getTrace()
String getUser()
String getUserName()
com.microfocus.cics.connector.ti.XAConnection getXACicsConnection()
XAConnection getXAConnection()
XAResource getXAResource()
boolean isDestroyed()
void passivate()
void removeCicsConnection(CobolConnection cciCon)
void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
void resetLocalTransaction()
void resetMC()
void resetXAFlow()
void sendEvent(int eventType, Exception ex)
void sendEvent(int eventType, Exception ex, Object connectionHandle)
void setCallerPrincipal(Principal aPrincipal)
void setConnection(com.microfocus.cics.connector.ti.Connection con)
void setLogWriter(PrintWriter out)
void setManagedConnectionFactory(javax.resource.spi.ManagedConnectionFactory xa)
void setStateful(boolean b)
void setSubject(Subject sub)
void setSupportsLocalTx(boolean xa)
void setSupportsXA(boolean xa)
void setTrustStoreName(String trustStoreName )
void setTrustStorePasswordsetTrustStorePassword(String trustStorePassword)
void setUser(String user)
void setXAConnection(XAConnection xa)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

resetMC
public void resetMC()
             throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException
setXAConnection
public void setXAConnection(XAConnection xa)
resetXAFlow
public void resetXAFlow()
                 throws com.microfocus.cobol.CobolException
Throws:
com.microfocus.cobol.CobolException
setStateful
public void setStateful(boolean b)
getResetXAFlow
public boolean getResetXAFlow()
setCallerPrincipal
public void setCallerPrincipal(Principal aPrincipal)
activate
public void activate()
              throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException
passivate
public void passivate()
               throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException
setConnection
public void setConnection(com.microfocus.cics.connector.ti.Connection con)
setSupportsXA
public void setSupportsXA(boolean xa)
setSupportsLocalTx
public void setSupportsLocalTx(boolean xa)
setUser
public void setUser (String user)
setSubject
public void setSubject(Subject sub)
setManagedConnectionFactory
public void setManagedConnectionFactory (javax.resource.spi.ManagedConnectionFactory xa)
getXAConnection
public XAConnection getXAConnection()
getConnection
public com.microfocus.cics.connector.ti.Connection getConnection()
getSupportsXA
public boolean getSupportsXA()
getSupportsLocalTx
public boolean getSupportsLocalTx()
getUser
public String getUser()
getSubject
public Subject getSubject()
getManagedConnectionFactory
public javax.resource.spi.ManagedConnectionFactory getManagedConnectionFactory()
getConnection
public Object getConnection(Subject subject,
                                    javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
                             throws javax.resource.ResourceException
Specified by:
getConnection in interface javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException
destroy
public void destroy()
             throws javax.resource.ResourceException
Specified by:
destroy in interface javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException
dispose
public void dispose()
             throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException
cleanup
public void cleanup()
             throws javax.resource.ResourceException
Specified by:
cleanup in interface javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException
associateConnection
public void associateConnection(Object connection)
                         throws javax.resource.ResourceException
Specified by:
associateConnection in interface javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException
addConnectionEventListener
public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
Specified by:
addConnectionEventListener in interface javax.resource.spi.ManagedConnection
removeConnectionEventListener
public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
Specified by:
removeConnectionEventListener in interface javax.resource.spi.Managed
getXAResource
public XAResource getXAResource()
                         throws javax.resource.ResourceException
Specified by:
getXAResource in interface javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException
getLocalTransaction
public javax.resource.spi.LocalTransaction getLocalTransaction()
                                     throws javax.resource.ResourceException
Specified by:
getLocalTransaction in interface javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException
getMetaData
public javax.resource.spi.ManagedConnectionMetaData getMetaData()
                                      throws javax.resource.ResourceException
Specified by:
getMetaData in interface javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException
setLogWriter
public void setLogWriter(PrintWriter out)
                  throws javax.resource.ResourceException
Specified by:
setLogWriter in interface javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException
getLogWriter
public PrintWriter getLogWriter()
                         throws javax.resource.ResourceException
Specified by:
getLogWriter in interface javax.resource.spi.ManagedConnection
Throws:
javax.resource.ResourceException
getCicsConnection
public com.microfocus.cics.connector.ti.Connection getCicsConnection()
                                                                throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException
getXACicsConnection
public com.microfocus.cics.connector.ti.XAConnection getXACobolConnection()
                                                                    throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException
isDestroyed
public boolean isDestroyed()
getUserName
public String getUserName()
sendEvent
public void sendEvent(int eventType,
                      Exception ex)
sendEvent
public void sendEvent(int eventType,
                      Exception ex,
                      Object connectionHandle)
removeCicsConnection
public void removeCicsConnection(MFECIConnection cciCon)
addCicsConnection
public void addCicsConnection(MFECIConnection cciCon)
getSessionId
public String getSessionId()
                          throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException
resetLocalTransaction
public void resetLocalTransaction()
getStateful
public boolean getStateful()
getTrace
public boolean getTrace()
setTrustStoreName
public void setTrustStoreName(String trustStoreName)
                          throws com.microfocus.cobol.CobolException
Throws:
com.microfocus.cobol.CobolException
setTrustStorePassword
public void setTrustStorePassword(String trustStorePassword)
                          throws com.microfocus.cobol.CobolException
Throws:
com.microfocus.cobol.CobolException
Previous Topic Next topic Print topic