rsitze 02/05/14 16:24:03
Modified: java/src/org/apache/axis/transport/http AxisServlet.java
Log:
Added hooks to facilitate use as a derived class.
Revision Changes Path
1.101 +11 -5
xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java
Index: AxisServlet.java
===================================================================
RCS file:
/home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- AxisServlet.java 14 May 2002 23:15:26 -0000 1.100
+++ AxisServlet.java 14 May 2002 23:24:03 -0000 1.101
@@ -108,6 +108,10 @@
private AxisEngine engine = null;
private ServletSecurityProvider securityProvider = null;
+ private static final String AXIS_ENGINE = "AxisEngine" ;
+
+ private static boolean isDebug = false;
+
/**
* Should we enable the "?list" functionality on GETs? (off by
* default because deployment information is a potential security
@@ -115,16 +119,18 @@
*/
private boolean enableList = false;
- private static final String AXIS_ENGINE = "AxisEngine" ;
-
- private static boolean isDebug = false;
-
// Cached path to our WEB-INF directory
private String webInfPath = null;
+ protected String getWebInfPath() { return webInfPath; }
+
// Cached path to JWS output directory
private String jwsClassDir = null;
+ protected String getJWSClassDir() { return jwsClassDir; }
+
// Cached path to our "root" dir
private String homeDir = null;
+ protected String getHomeDir() { return homeDir; }
+
public AxisServlet() {
}
@@ -677,7 +683,7 @@
* by derived class.
*/
protected String getDefaultJWSClassDir() {
- return webInfPath + File.separator + "jwsClasses";
+ return getWebInfPath() + File.separator + "jwsClasses";
}
/**