[jboss-cvs] JBossAS SVN: r71084 - projects/jboss-man/trunk/managed/src/main/org/jboss/managed/api/annotation.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Mar 20 12:50:50 EDT 2008


Author: adrian at jboss.org
Date: 2008-03-20 12:50:50 -0400 (Thu, 20 Mar 2008)
New Revision: 71084

Modified:
   projects/jboss-man/trunk/managed/src/main/org/jboss/managed/api/annotation/ManagementDeployment.java
Log:
[JBMAN-7] - This is supposed to be an annotation attribute rather than a constant :-), also fixed some javadoc

Modified: projects/jboss-man/trunk/managed/src/main/org/jboss/managed/api/annotation/ManagementDeployment.java
===================================================================
--- projects/jboss-man/trunk/managed/src/main/org/jboss/managed/api/annotation/ManagementDeployment.java	2008-03-20 16:46:52 UTC (rev 71083)
+++ projects/jboss-man/trunk/managed/src/main/org/jboss/managed/api/annotation/ManagementDeployment.java	2008-03-20 16:50:50 UTC (rev 71084)
@@ -36,17 +36,17 @@
     * this is taken from the DeploymentUnit.simpleName.
     * @return simple name of the deployment
     */
-   public String simpleName() default ManagementConstants.GENERATED;
+   String simpleName() default ManagementConstants.GENERATED;
 
    /**
     * A description of the managed deployment
     * @return description of the managed deployment
     */
-   public String description() default ManagementConstants.GENERATED;
+   String description() default ManagementConstants.GENERATED;
 
    /**
     * The phase the deployment belongs to
-    * @return
+    * @return the phase of the deployment
     */
    DeploymentPhase phase() default DeploymentPhase.APPLICATION;
 
@@ -54,6 +54,6 @@
     * Get the deployment/module types.
     * @return deployment types
     */
-   public String[] types = {};
+   String[] types() default {};
 
 }




More information about the jboss-cvs-commits mailing list