]> source.dussan.org Git - vaadin-framework.git/commitdiff
Add rudimentary javadocs (#9402)
authorLeif Åstrand <leif@vaadin.com>
Mon, 10 Sep 2012 10:58:30 +0000 (13:58 +0300)
committerLeif Åstrand <leif@vaadin.com>
Mon, 10 Sep 2012 10:58:30 +0000 (13:58 +0300)
server/src/com/vaadin/DefaultDeploymentConfiguration.java
server/src/com/vaadin/server/AbstractVaadinService.java

index 6159137cc3b9af02c47e13bb757b86967531ed3a..fed558c5b542d569a6396d17f5a6bb085bb37659 100644 (file)
@@ -22,6 +22,13 @@ import java.util.logging.Logger;
 import com.vaadin.server.Constants;
 import com.vaadin.server.DeploymentConfiguration;
 
+/**
+ * The default implementation of {@link DeploymentConfiguration} based on a base
+ * class for resolving system properties and a set of init parameters.
+ * 
+ * @author Vaadin Ltd
+ * @since 7.0.0
+ */
 public class DefaultDeploymentConfiguration implements DeploymentConfiguration {
     private final Properties initParameters;
     private boolean productionMode;
@@ -31,6 +38,16 @@ public class DefaultDeploymentConfiguration implements DeploymentConfiguration {
     private boolean idleRootCleanupEnabled;
     private final Class<?> systemPropertyBaseClass;
 
+    /**
+     * Create a new deployment configuration instance.
+     * 
+     * @param systemPropertyBaseClass
+     *            the class that should be used as a basis when reading system
+     *            properties
+     * @param initParameters
+     *            the init parameters that should make up the foundation for
+     *            this configuration
+     */
     public DefaultDeploymentConfiguration(Class<?> systemPropertyBaseClass,
             Properties initParameters) {
         this.initParameters = initParameters;
index 6e14c1984b9bbf8f2c9754d4218eaf35b0769771..7150fdf0daad517693f5c15e17386a6b375f5bc8 100644 (file)
@@ -20,11 +20,24 @@ import java.lang.reflect.Constructor;
 import java.util.Iterator;
 import java.util.ServiceLoader;
 
+/**
+ * Abstract implementation of VaadinService that takes care of those parts that
+ * are common to both servlets and portlets.
+ * 
+ * @author Vaadin Ltd
+ * @since 7.0.0
+ */
 public abstract class AbstractVaadinService implements VaadinService {
 
     private AddonContext addonContext;
     private final DeploymentConfiguration deploymentConfiguration;
 
+    /**
+     * Creates a new vaadin service based on a deployment configuration
+     * 
+     * @param deploymentConfiguration
+     *            the deployment configuration for the service
+     */
     public AbstractVaadinService(DeploymentConfiguration deploymentConfiguration) {
         this.deploymentConfiguration = deploymentConfiguration;
     }