r9854 - helma/helma/trunk/src/helma/servlet
[email protected] Mon, 7 Sep 2009 15:30:45 +0200 (CEST)
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20090907133045.CEEFA3D0E3@mia> |
Author: hannes
Date: 2009-09-07 15:30:45 +0200 (Mon, 07 Sep 2009)
New Revision: 9854
Modified:
helma/helma/trunk/src/helma/servlet/AbstractServletClient.java
helma/helma/trunk/src/helma/servlet/EmbeddedServletClient.java
helma/helma/trunk/src/helma/servlet/StandaloneServletClient.java
Log:
Make AbstractServletClient.getApplication() public
Details at http://dev.helma.org/trac/helma/changeset/9854
Modified: helma/helma/trunk/src/helma/servlet/AbstractServletClient.java
===================================================================
--- helma/helma/trunk/src/helma/servlet/AbstractServletClient.java 2009-08-14 11:42:42 UTC (rev 9853)
+++ helma/helma/trunk/src/helma/servlet/AbstractServletClient.java 2009-09-07 13:30:45 UTC (rev 9854)
@@ -142,7 +142,7 @@
*
* @return this servlet's application instance
*/
- abstract Application getApplication();
+ public abstract Application getApplication();
/**
* Handle a request.
Modified: helma/helma/trunk/src/helma/servlet/EmbeddedServletClient.java
===================================================================
--- helma/helma/trunk/src/helma/servlet/EmbeddedServletClient.java 2009-08-14 11:42:42 UTC (rev 9853)
+++ helma/helma/trunk/src/helma/servlet/EmbeddedServletClient.java 2009-09-07 13:30:45 UTC (rev 9854)
@@ -58,7 +58,7 @@
*
* @return this servlet's application instance
*/
- Application getApplication() {
+ public Application getApplication() {
if (app == null) {
app = Server.getServer().getApplication(appName);
}
Modified: helma/helma/trunk/src/helma/servlet/StandaloneServletClient.java
===================================================================
--- helma/helma/trunk/src/helma/servlet/StandaloneServletClient.java 2009-08-14 11:42:42 UTC (rev 9853)
+++ helma/helma/trunk/src/helma/servlet/StandaloneServletClient.java 2009-09-07 13:30:45 UTC (rev 9854)
@@ -133,7 +133,7 @@
*
* @return this servlet's application instance
*/
- Application getApplication() {
+ public Application getApplication() {
if (app == null) {
createApp();
}
@@ -145,7 +145,7 @@
* Create the application. Since we are synchronized only here, we
* do another check if the app already exists and immediately return if it does.
*/
- synchronized void createApp() {
+ protected synchronized void createApp() {
if (app != null) {
return;