|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.agmodel.applet.ParameterManager
Configures one or more ServerBeans using parameters passed to an applet and supports applet.getParameterInfo()
| Constructor Summary | |
ParameterManager(Applet anApplet)
Create a parameter manager for use within an applet. |
|
| Method Summary | |
(package private) static void |
configureServerBean(ServerBean bean,
String RMIhost,
String HTTPhost,
int HTTPport)
A convenience method allowing an application to set a ServerBean's RMI and HTTP parameters. |
String[][] |
getParameterInfo()
Returns a list of parameter details in a form suitable to use with Applet.getParamInfo(). |
void |
parameterizeServerBean(ServerBean bean,
String defaultRMIhost,
String defaultHTTPhost,
int defaultHTTPport)
Sets a ServerBean's RMI and HTTP parameters by looking for corresponding applet parameters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParameterManager(Applet anApplet)
anApplet - a reference back to the parent applet used to get parameter values.| Method Detail |
public String[][] getParameterInfo()
public void parameterizeServerBean(ServerBean bean,
String defaultRMIhost,
String defaultHTTPhost,
int defaultHTTPport)
bean - the bean whose RMI and HTTP settings will be configured.defaultRMIhost - default server to use when an RMI host parameter value isn't founddefaultHTTPhost - default wrapper servlet host to use when an HTTP host parameter value isn't founddefaultHTTPport - default port to use (usually 80 for web server, 8080 for servlet container)
static void configureServerBean(ServerBean bean,
String RMIhost,
String HTTPhost,
int HTTPport)
bean - the bean whose RMI and HTTP settings will be configured.RMIhost - the RMI server to useHTTPhost - the HTTP server (wrapper servlet machine) to use if direct RMI connections are not availableHTTPport - the HTTP port to use (usually 80 for web server, 8080 for servlet container)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||