|
EspressReport 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectquadbase.common.util.internal.EJBInfo
public class EJBInfo
The EJBInfo class provides information that is used to connect to an entity bean on a server.
When calling the Constructor of a QbReport,
this EJBInfo Object can be passed in for connecting to an entity bean, which serves as a
Data source for the QbReport.
| Field Summary | |
|---|---|
static int |
VERSION
|
| Constructor Summary | |
|---|---|
EJBInfo(java.lang.String jndiName,
java.lang.String homeName,
java.lang.String remoteName,
java.lang.String selectedMethodName,
java.lang.Object[] selectedMethodParamVal)
Allocates an EJBInfo that contains information to connect to an entity bean on a server. |
|
EJBInfo(java.lang.String jndiName,
java.lang.String homeName,
java.lang.String remoteName,
java.lang.String selectedMethodName,
java.lang.Object[] selectedMethodParamVal,
java.util.Hashtable properties)
Allocates an EJBInfo that contains information to connect to an entity bean on a server. |
|
| Method Summary | |
|---|---|
java.util.Hashtable |
getEnvironment()
Returns the environment properties of the bean as a Hashtable. |
java.lang.String |
getHomeName()
Returns the name of the class for the home interface (ex. |
java.lang.String |
getJNDIName()
Returns the lookup name for the bean on the server. |
java.lang.String |
getRemoteName()
Returns the name of the class for the remote interface (ex. |
java.lang.String |
getSelectedMethodName()
Returns the name of the method to be used for querying the database, this is one of the methods contained in the class for the home interface. |
java.lang.Object[] |
getSelectedMethodParamVal()
Returns the parameters for the selectedMethodName method. |
void |
setEnvironment(java.util.Hashtable properties)
Sets the environment properties of the bean as a Hashtable. |
void |
setHomeName(java.lang.String homeName)
Sets the name of the class for the home interface (ex. |
void |
setJNDIName(java.lang.String jndiName)
Sets the lookup name for the bean on the server. |
void |
setRemoteName(java.lang.String remoteName)
Returns the name of the class for the remote interface (ex. |
void |
setSelectedMethodName(java.lang.String selectedMethodName)
Returns the name of the method to be used for querying the database, this is one of the methods contained in the class for the home interface. |
void |
setSelectedMethodParamVal(java.lang.Object[] selectedMethodParamVal)
Sets the parameters for the selectedMethodName method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int VERSION
| Constructor Detail |
|---|
public EJBInfo(java.lang.String jndiName,
java.lang.String homeName,
java.lang.String remoteName,
java.lang.String selectedMethodName,
java.lang.Object[] selectedMethodParamVal)
jndiName - the lookup name for the bean on the server.homeName - name of the class for the home interface (ex. ejb.SalesHome). Contains the findX() methods for querying the databse.remoteName - name of the class for the remote interface (ex. ejb.Sales). Contains the getX() and setX() methods.selectedMethodName - the name of the method to be used for querying the database, this is one of the methods contained in the class for the home interface.selectedMethodParamVal - specifies the parameters for the selectedMethodName method. The selectedMethodParamVal.length must equal to the number of parameters associated with the selectedMethodName method, and the order in which the parameters appear must also coincide.
public EJBInfo(java.lang.String jndiName,
java.lang.String homeName,
java.lang.String remoteName,
java.lang.String selectedMethodName,
java.lang.Object[] selectedMethodParamVal,
java.util.Hashtable properties)
jndiName - the lookup name for the bean on the server.homeName - name of the class for the home interface (ex. ejb.SalesHome). Contains the findX() methods for querying the databse.remoteName - name of the class for the remote interface (ex. ejb.Sales). Contains the getX() and setX() methods.selectedMethodName - the name of the method to be used for querying the database, this is one of the methods contained in the class for the home interface.selectedMethodParamVal - specifies the parameters for the selectedMethodName method. The selectedMethodParamVal.length must equal to the number of parameters associated with the selectedMethodName method, and the order in which the parameters appear must also coincide.properties - environment properties for your application server. This information is necessary for EspressManager to connect to the EJB. Allowable keys are:
| Property Key |
| "APPLET" |
| "AUTHORITATIVE" |
| "DNS_URL" |
| "INITIAL_CONTEXT_FACTORY" |
| "LANGUAGE" |
| "OBJECT_FACTORIES" |
| "PROVIDER_URL" |
| "REFERRAL" |
| "SECURITY_AUTHENTICATION" |
| "SECURITY_CREDENTIALS" |
| "SECURITY_PRINCIPAL" |
| "SECURITY_PROTOCOL" |
| "STATE_FACTORIES" |
| "URL_PKG_PREFIXES" |
| Method Detail |
|---|
public java.lang.String getJNDIName()
public java.lang.String getHomeName()
public java.lang.String getRemoteName()
public java.lang.String getSelectedMethodName()
public java.lang.Object[] getSelectedMethodParamVal()
public java.util.Hashtable getEnvironment()
| Property Key |
| "APPLET" |
| "AUTHORITATIVE" |
| "DNS_URL" |
| "INITIAL_CONTEXT_FACTORY" |
| "LANGUAGE" |
| "OBJECT_FACTORIES" |
| "PROVIDER_URL" |
| "REFERRAL" |
| "SECURITY_AUTHENTICATION" |
| "SECURITY_CREDENTIALS" |
| "SECURITY_PRINCIPAL" |
| "SECURITY_PROTOCOL" |
| "STATE_FACTORIES" |
| "URL_PKG_PREFIXES" |
public void setJNDIName(java.lang.String jndiName)
public void setHomeName(java.lang.String homeName)
public void setRemoteName(java.lang.String remoteName)
public void setSelectedMethodName(java.lang.String selectedMethodName)
public void setSelectedMethodParamVal(java.lang.Object[] selectedMethodParamVal)
public void setEnvironment(java.util.Hashtable properties)
| Property Key |
| "APPLET" |
| "AUTHORITATIVE" |
| "DNS_URL" |
| "INITIAL_CONTEXT_FACTORY" |
| "LANGUAGE" |
| "OBJECT_FACTORIES" |
| "PROVIDER_URL" |
| "REFERRAL" |
| "SECURITY_AUTHENTICATION" |
| "SECURITY_CREDENTIALS" |
| "SECURITY_PRINCIPAL" |
| "SECURITY_PROTOCOL" |
| "STATE_FACTORIES" |
| "URL_PKG_PREFIXES" |
|
EspressReport 6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||