From: Jani Laakso Date: Thu, 6 Mar 2008 10:11:02 +0000 (+0000) Subject: Fixed #1174: Where comes data for the Application.getProperty() X-Git-Tag: 6.7.0.beta1~4978 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b0e486bd9811bff5f3c258d0dffcb33f16d65852;p=vaadin-framework.git Fixed #1174: Where comes data for the Application.getProperty() svn changeset:3986/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/Application.java b/src/com/itmill/toolkit/Application.java index e5b44542d0..5a18903fa1 100644 --- a/src/com/itmill/toolkit/Application.java +++ b/src/com/itmill/toolkit/Application.java @@ -407,10 +407,16 @@ public abstract class Application implements URIHandler, Terminal.ErrorListener * corresponds to the given URL and it will return windows when asked for * them. * + * Application properties are defined by servlet configuration object + * {@link javax.servlet.ServletConfig} and they are overridden by + * context-wide initialization parameters + * {@link javax.servlet.ServletContext}. + * * @param applicationUrl * the URL the application should respond to. * @param applicationProperties - * the Application properties as specified by the adapter. + * the Application properties as specified by the servlet + * configuration. * @param context * the context application will be running in. * @@ -527,6 +533,9 @@ public abstract class Application implements URIHandler, Terminal.ErrorListener /** * Returns an enumeration of all the names in this application. * + * See {@link #start(URL, Properties, ApplicationContext)} how properties + * are defined. + * * @return an enumeration of all the keys in this property list, including * the keys in the default property list. * @@ -539,6 +548,9 @@ public abstract class Application implements URIHandler, Terminal.ErrorListener * Searches for the property with the specified name in this application. * This method returns null if the property is not found. * + * See {@link #start(URL, Properties, ApplicationContext)} how properties + * are defined. + * * @param name * the name of the property. * @return the value in this property list with the specified key value.