geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r582132 - in /geronimo/sandbox/gshell/trunk: gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/ gshell-maven-plugin/src/main/java/org/apache/geronimo/gshell/maven/gshell/
Date Fri, 05 Oct 2007 08:49:02 GMT
Author: jdillon
Date: Fri Oct  5 01:49:02 2007
New Revision: 582132

URL: http://svn.apache.org/viewvc?rev=582132&view=rev
Log:
Rename @Configuration to @Parameter

Added:
    geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java
  (contents, props changed)
      - copied, changed from r582051, geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Configuration.java
Removed:
    geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Configuration.java
Modified:
    geronimo/sandbox/gshell/trunk/gshell-maven-plugin/src/main/java/org/apache/geronimo/gshell/maven/gshell/CommandDescriptorGleaner.java

Copied: geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java
(from r582051, geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Configuration.java)
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java?p2=geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java&p1=geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Configuration.java&r1=582051&r2=582132&rev=582132&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Configuration.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java
Fri Oct  5 01:49:02 2007
@@ -27,7 +27,7 @@
 import java.lang.annotation.Target;
 
 /**
- * ????
+ * ???
  *
  * @version $Rev$ $Date$
  */
@@ -35,7 +35,7 @@
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ ElementType.FIELD, ElementType.METHOD })
 @Inherited
-public @interface Configuration
+public @interface Parameter
 {
     String name();
 

Propchange: geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/gshell/trunk/gshell-command-api/src/main/java/org/apache/geronimo/gshell/command/annotation/Parameter.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/sandbox/gshell/trunk/gshell-maven-plugin/src/main/java/org/apache/geronimo/gshell/maven/gshell/CommandDescriptorGleaner.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-maven-plugin/src/main/java/org/apache/geronimo/gshell/maven/gshell/CommandDescriptorGleaner.java?rev=582132&r1=582131&r2=582132&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-maven-plugin/src/main/java/org/apache/geronimo/gshell/maven/gshell/CommandDescriptorGleaner.java
(original)
+++ geronimo/sandbox/gshell/trunk/gshell-maven-plugin/src/main/java/org/apache/geronimo/gshell/maven/gshell/CommandDescriptorGleaner.java
Fri Oct  5 01:49:02 2007
@@ -24,7 +24,7 @@
 import java.util.Map;
 
 import org.apache.geronimo.gshell.command.annotation.CommandComponent;
-import org.apache.geronimo.gshell.command.annotation.Configuration;
+import org.apache.geronimo.gshell.command.annotation.Parameter;
 import org.apache.geronimo.gshell.command.annotation.Requirement;
 import org.apache.geronimo.gshell.descriptor.CommandConfiguration;
 import org.apache.geronimo.gshell.descriptor.CommandDescriptor;
@@ -193,7 +193,7 @@
     private CommandConfiguration findConfiguration(final Field field) {
         assert field != null;
 
-        Configuration anno = field.getAnnotation(Configuration.class);
+        Parameter anno = field.getAnnotation(Parameter.class);
 
         if (anno == null) {
             return null;



Mime
View raw message