public interface IProgramEnvironment extends IEnvironment
| Modifier and Type | Field and Description |
|---|---|
static int |
CCE
Condition Code Equal constant
|
static int |
CCG
Condition Code Greater constant
|
static int |
CCL
Condition Code Lesser constant
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCC()
Get the Condition Code register value.
|
java.lang.Object |
getExternal(java.lang.String name)
Get the EXTERNAL identifier by name.
|
com.heirloomcomputing.ecs.ezasoket.EzasoketContext |
getEzasoketContext()
Get the EzasoketContect object
|
java.lang.Object |
getJDBCConnection(java.lang.String name)
Get the named SQL JDBC Connection.
|
java.lang.Object |
getJMSConnection(java.lang.String name)
Get the named JMS Connection.
|
IModule |
getModule(java.lang.String moduleName)
Obtain the given module, where the module must be known
to the current IProgramEnvironment.
|
boolean |
isExecutingInTransactionEnvironment()
Is this program running in a hosted transaction environment?
This is true for environments such as the LegacyJ Transaction
Platform, and false for simple environments such as a
normal application.
|
void |
setCC(int value)
Set the Condition Code register value.
|
void |
setJDBCConnection(java.lang.String name,
java.lang.Object con)
Set the named SQL JDBC Connection.
|
void |
setJMSConnection(java.lang.String name,
java.lang.Object con)
Set the named JMS Connection.
|
get, put, removestatic final int CCE
static final int CCG
static final int CCL
int getCC()
void setCC(int value)
value - - condition code value (CCE, CCG, CCL)boolean isExecutingInTransactionEnvironment()
java.lang.Object getJDBCConnection(java.lang.String name)
name - - null for currentvoid setJDBCConnection(java.lang.String name,
java.lang.Object con)
throws java.lang.Exception
name - of the connection object being set, null for currentcon - is the connection object itselfjava.lang.Exceptionjava.lang.Object getJMSConnection(java.lang.String name)
name - - null for currentvoid setJMSConnection(java.lang.String name,
java.lang.Object con)
throws java.lang.Exception
name - of the connection object being set, null for currentcon - is the connection object itselfjava.lang.Exceptionjava.lang.Object getExternal(java.lang.String name)
IModule getModule(java.lang.String moduleName)
moduleName - com.heirloomcomputing.ecs.ezasoket.EzasoketContext getEzasoketContext()