Method Summary | |
---|---|
void | beginTransaction() |
int | cobcall(String program, com.microfocus.cobol.lang.ParameterList inParameters, com.microfocus.cobol.lang.ParameterList outParameters)
Call a COBOL Server with a set of input and output parameters. |
void | commitTransaction() |
void | dispose() |
int | getReadTimeout() |
String | getSessionId() |
static boolean | IsGUIDGenerationStyleSecure() |
boolean | isStateful() |
void | rollbackTransaction() |
void | setCompression(boolean onOrOff) |
void | setReadTimeout(int inSeconds) |
static boolean | setSecureGUID(boolean b) |
void | setStateful(boolean val) |
void | setTrustStoreName(String trustStoreName) |
void | setTrustStorePassword(String trustStorePassword) |
void | xa_commit() |
void | xa_commit(Xid xid, boolean onePhase) |
void | xa_end() |
void | xa_end(Xid xid, int flags) |
void | xa_forget() |
void | xa_forget(Xid xid) |
void | xa_prepare() |
void | xa_recover() |
void | xa_rollback() |
void | xa_rollback(Xid xid) |
void | xa_start() |
void | xa_start(Xid xid) |
public EnterpriseServerBean() throws com.microfocus.cobol.CobolException
Constructor for an Enterprise Server bean; host defaults to localhost and port number defaults to 9003.
public EnterpriseServerBean(String host,
int port)
throws com.microfocus.cobol.CobolException
Constructor for a stateless Enterprise Server Bean, specifying a host name and a port number.
public EnterpriseServerBean(String host,
int port
boolean isInitial)
throws com.microfocus.cobol.CobolException
Constructor for an Enterprise Server Bean, specifying a host and port number, and specifying whether or not the Bean is stateful or stateless.
public EnterpriseServerBean(String host,
int port
boolean isInitial,
boolean debugOrTrace)
throws com.microfocus.cobol.CobolException
Constructor for an Enterprise Server Bean, specifying a host and port number, specifying whether or not the Bean is stateful or stateless, and specifying the type of trace debug information displayed.
public EnterpriseServerBean(String host,
int port
boolean isInitial,
boolean debugOrTrace,
boolean isSecure)
throws com.microfocus.cobol.CobolException
Constructor for an Enterprise Server Bean, specifying a host and port number, specifying whether or not the Bean is stateful or stateless, specifying the type of debugOrTrace information displayed, and specifying whether or not to use isSecure.
public void beginTransaction() throws com.microfocus.cobol.CobolException
public int cobcall(String program, com.microfocus.cobol.lang.ParameterList inParameters, com.microfocus.cobol.lang.ParameterList outParameters) throws com.microfocus.cobol.CobolException, Exception
Call a COBOL Server with a set of input and output parameters.
public void commitTransaction() throws com.microfocus.cobol.CobolException
public void dispose() throws com.microfocus.cobol.CobolException
public int getReadTimeout()
public String getSessionId()
public static boolean IsGUIDGenerationStyleSecure()
public boolean isStateful() throws com.microfocus.cobol.CobolException
public void rollbackTransaction() throws com.microfocus.cobol.CobolException
public void setCompression(boolean onOrOff)
public void setReadTimeout(int inSeconds) throws com.microfocus.cobol.CobolException
protected static setSecureGUID(boolean b)
public void setStateful()
public void setTrustStoreName(String trustStoreName)
throws com.microfocus.cobol.CobolException
public void setTrustStorePassword(String trustStorePassword)
throws com.microfocus.cobol.CobolException
public void xa_commit() throws com.microfocus.cobol.CobolException
public void xa_commit(Xid xid,
boolean onePhase)
throws com.microfocus.cobol.CobolException
public void xa_end() throws com.microfocus.cobol.CobolException
public void xa_end(Xid xid,
int flags)
throws com.microfocus.cobol.CobolException
public void xa_forget() throws com.microfocus.cobol.CobolException
public void xa_forget(Xid xid)
throws com.microfocus.cobol.CobolException
public void xa_prepare() throws com.microfocus.cobol.CobolException
public void xa_recover() throws com.microfocus.cobol.CobolException
public void xa_rollback() throws com.microfocus.cobol.CobolException
public void xa_rollback(Xid xid)
throws com.microfocus.cobol.CobolException
public void xa_start() throws com.microfocus.cobol.CobolException
public void xa_start(Xid xid)
throws com.microfocus.cobol.CobolException