Permalink
Browse files

Rename the annotation

  • Loading branch information...
1 parent 7995399 commit 7c6f750e97370efe9c618ac9cd078e344a4601ef @jfarcand jfarcand committed Jun 10, 2011
View
6 ...tsimple/annotation/ServiceDefinition.java → ...natype/restsimple/annotation/Service.java
@@ -20,10 +20,8 @@
* A maker annotation that can be used when annotating {@link org.sonatype.restsimple.api.ServiceDefinition} or POJO
* used with the service-decriptor-creator module.
*/
-@Target({ElementType.TYPE})
+@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
-public @interface ServiceDefinition {
-
- public String name() default "";
+public @interface Service {
}

0 comments on commit 7c6f750

Please sign in to comment.