added zero argument constructor and init() method.

This commit is contained in:
hns 2002-06-07 18:27:11 +00:00
parent 0ba2d745ee
commit 11ba081196

View file

@ -25,11 +25,21 @@ public final class EmbeddedServletClient extends AbstractServletClient {
// depending on this we know whether we have to transform the request path // depending on this we know whether we have to transform the request path
boolean root; boolean root;
public EmbeddedServletClient () {
super ();
}
public EmbeddedServletClient (String appName, boolean isRoot) { public EmbeddedServletClient (String appName, boolean isRoot) {
this.appName = appName; this.appName = appName;
this.root = isRoot; this.root = isRoot;
} }
public void init (ServletConfig init) throws ServletException {
super.init (init);
String app = init.getInitParameter ("application");
if (app != null)
appName = app;
}
IRemoteApp getApp (String appID) { IRemoteApp getApp (String appID) {
if (app == null) if (app == null)