diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-07-31 11:50:29 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-07-31 11:50:29 +0300 |
commit | 569a82a7bfc4958a9ac164e16caecc3fb47fdbc7 (patch) | |
tree | 4cd32371a757f1d45b2eca2ea90a858db4d7b76e /src/com/vaadin/terminal/DeploymentConfiguration.java | |
parent | aeb7c094e11ab338a800a63602bda9e797752e22 (diff) | |
download | vaadin-framework-569a82a7bfc4958a9ac164e16caecc3fb47fdbc7.tar.gz vaadin-framework-569a82a7bfc4958a9ac164e16caecc3fb47fdbc7.zip |
Move common code to AbstractDeploymentConfiguration (#8574)
Diffstat (limited to 'src/com/vaadin/terminal/DeploymentConfiguration.java')
-rw-r--r-- | src/com/vaadin/terminal/DeploymentConfiguration.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/DeploymentConfiguration.java b/src/com/vaadin/terminal/DeploymentConfiguration.java index 5d622cac20..ddb42349d8 100644 --- a/src/com/vaadin/terminal/DeploymentConfiguration.java +++ b/src/com/vaadin/terminal/DeploymentConfiguration.java @@ -5,6 +5,7 @@ package com.vaadin.terminal; import java.io.Serializable; +import java.util.Properties; import javax.portlet.PortletContext; import javax.servlet.ServletContext; @@ -101,4 +102,12 @@ public interface DeploymentConfiguration extends Serializable { * @see PortletContext#getMimeType(String) */ public String getMimeType(String resourceName); + + /** + * Gets the properties configured for the deployment, e.g. as init + * parameters to the servlet or portlet. + * + * @return properties for the application. + */ + public Properties getInitParameters(); } |