added zero argument constructor and init() method.
This commit is contained in:
parent
0ba2d745ee
commit
11ba081196
1 changed files with 10 additions and 0 deletions
|
@ -25,11 +25,21 @@ public final class EmbeddedServletClient extends AbstractServletClient {
|
|||
// depending on this we know whether we have to transform the request path
|
||||
boolean root;
|
||||
|
||||
public EmbeddedServletClient () {
|
||||
super ();
|
||||
}
|
||||
|
||||
public EmbeddedServletClient (String appName, boolean isRoot) {
|
||||
this.appName = appName;
|
||||
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) {
|
||||
if (app == null)
|
||||
|
|
Loading…
Add table
Reference in a new issue