]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed #1174: Where comes data for the Application.getProperty()
authorJani Laakso <jani.laakso@itmill.com>
Thu, 6 Mar 2008 10:11:02 +0000 (10:11 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Thu, 6 Mar 2008 10:11:02 +0000 (10:11 +0000)
svn changeset:3986/svn branch:trunk

src/com/itmill/toolkit/Application.java

index e5b44542d0b4972a549f35b13fb1288de41aa54f..5a18903fa10f47196e8532406d047c1d12ad39ab 100644 (file)
@@ -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 <code>null</code> 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.