[jboss-cvs] JBossAS SVN: r69371 - trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Jan 26 18:12:12 EST 2008


Author: bstansberry at jboss.com
Date: 2008-01-26 18:12:12 -0500 (Sat, 26 Jan 2008)
New Revision: 69371

Modified:
   trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/ClusteringDefaultsDeployer.java
Log:
Javadoc

Modified: trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/ClusteringDefaultsDeployer.java
===================================================================
--- trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/ClusteringDefaultsDeployer.java	2008-01-26 21:51:39 UTC (rev 69370)
+++ trunk/tomcat/src/main/org/jboss/web/tomcat/service/deployers/ClusteringDefaultsDeployer.java	2008-01-26 23:12:12 UTC (rev 69371)
@@ -36,8 +36,8 @@
 /**
  * Injects default clustering values into JBossWebMetaData.
  * 
- * FIXME. This is a temporary measure until we set up a jboss-web.xml equivalent
- * to conf/web.xml and  conf/standardjboss.xml and use it as the source for defaults.
+ * TODO. A better approach is to use a jboss-web.xml equivalent to conf/web.xml 
+ * and conf/standardjboss.xml as the source for defaults.
  * 
  * @author <a href="brian.stansberry at jboss.com">Brian Stansberry</a>
  * @version $Revision$
@@ -60,8 +60,7 @@
    private boolean useLocalCache = true;
    
    /**
-    * Create a new ClusteringDependencyDeployer.
-    * 
+    * Create a new ClusteringDependencyDeployer. 
     */
    public ClusteringDefaultsDeployer()
    {
@@ -196,6 +195,11 @@
       this.cacheSource = cacheSource;
    }
 
+   /**
+    * Injects the configured default property values into any
+    * {@link JBossWebMetaData} attached to <code>unit</code> if the 
+    * relevant property isn't already configured.
+    */
    public void deploy(DeploymentUnit unit) throws DeploymentException
    {
       JBossWebMetaData metaData = unit.getAttachment(JBossWebMetaData.class);
@@ -211,7 +215,7 @@
    }
 
    /**
-    * FIXME Comment this
+    * Inject default values in {@link PassivationConfig}
     * 
     * @param metaData
     */
@@ -233,7 +237,7 @@
    }
 
    /**
-    * FIXME Comment this
+    * Inject default values in {@link ReplicationConfig}
     * 
     * @param metaData
     */




More information about the jboss-cvs-commits mailing list