com.microfocus.cics.connector.EnterpriseServerBean
Method Summary | |
---|---|
void | beginTransaction()
Begin a transaction. |
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()
Commit a transaction. |
void | dispose()
Dispose of the Bean. |
int | getReadTimeout() |
String | getSessionId() |
static boolean | IsGUIDGenerationStyleSecure() |
boolean | isStateful() |
void | rollbackTransaction()
Rollback a transition. |
void | setCompression(boolean onOrOff)
Set compression. |
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.
host | Host name |
port | 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.
host | Host name |
port | Port number |
isInitial | Stateful bean, set to:
false
Stateless bean, set to: true |
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.
host | Host name |
port | Port number |
isInitial | Stateful bean, set to:
false
Stateless bean, set to: true |
debugOrTrace | Display just trace information:
false
Display transport and trace (complete) information: true |
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.
host | Host name |
port | Port number |
isInitial | Stateful bean, set to:
false
Stateless bean, set to: true |
debugOrTrace | Display just trace information:
false
Display transport and trace (complete) information: true |
isSecure |
public void beginTransaction() throws com.microfocus.cobol.CobolException
Begin a transaction.
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.
program | |
inParameters | Input parameters |
outParameters | Output parameters |
public void commitTransaction() throws com.microfocus.cobol.CobolException
Commit a transaction.
public void dispose() throws com.microfocus.cobol.CobolException
Dispose of a bean.
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
Rollback a transition.
public void setCompression(boolean onOrOff)
Set compression.
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