public class MFECIManagedConnection
extends Object
implements javax.resource.spi.ManagedConnection, Serializable
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) |
public void resetMC() throws javax.resource.ResourceException
public void setXAConnection(XAConnection xa)
public void resetXAFlow() throws com.microfocus.cobol.CobolException
public void setStateful(boolean b)
public boolean getResetXAFlow()
public void setCallerPrincipal(Principal aPrincipal)
public void activate() throws javax.resource.ResourceException
public void passivate() throws javax.resource.ResourceException
public void setConnection(com.microfocus.cics.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 (javax.resource.spi.ManagedConnectionFactory xa)
public XAConnection getXAConnection()
public com.microfocus.cics.connector.ti.Connection getConnection()
public boolean getSupportsXA()
public boolean getSupportsLocalTx()
public String getUser()
public Subject getSubject()
public javax.resource.spi.ManagedConnectionFactory getManagedConnectionFactory()
public Object getConnection(Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo) throws javax.resource.ResourceException
public void destroy() throws javax.resource.ResourceException
public void dispose() throws javax.resource.ResourceException
public void cleanup() throws javax.resource.ResourceException
public void associateConnection(Object connection)
throws javax.resource.ResourceException
public void addConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
public void removeConnectionEventListener(javax.resource.spi.ConnectionEventListener listener)
public XAResource getXAResource()
throws javax.resource.ResourceException
public javax.resource.spi.LocalTransaction getLocalTransaction() throws javax.resource.ResourceException
public javax.resource.spi.ManagedConnectionMetaData getMetaData() throws javax.resource.ResourceException
public void setLogWriter(PrintWriter out)
throws javax.resource.ResourceException
public PrintWriter getLogWriter()
throws javax.resource.ResourceException
public com.microfocus.cics.connector.ti.Connection getCicsConnection() throws javax.resource.ResourceException
public com.microfocus.cics.connector.ti.XAConnection getXACobolConnection() throws javax.resource.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 removeCicsConnection(MFECIConnection cciCon)
public void addCicsConnection(MFECIConnection cciCon)
public String getSessionId()
throws javax.resource.ResourceException
public void resetLocalTransaction()
public boolean getStateful()
public boolean getTrace()
public void setTrustStoreName(String trustStoreName)
throws com.microfocus.cobol.CobolException
public void setTrustStorePassword(String trustStorePassword)
throws com.microfocus.cobol.CobolException