Skip to content

Commit

Permalink
Refactor annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuancelin committed Jan 31, 2011
1 parent a0fbfcf commit 241ab14
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
Expand Up @@ -15,6 +15,5 @@
@Target({ PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
public @interface Filter {
//String value() default "";
Class value() default Object.class;
String value() default "";
}
@@ -0,0 +1,20 @@
package org.jboss.weld.environment.osgi.api.extension;

import static java.lang.annotation.ElementType.PARAMETER;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.inject.Qualifier;

/**
*
* @author mathieu
*/
@Qualifier
@Target({ PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
public @interface Specification {
//String value() default "";
Class value() default Object.class;
}

0 comments on commit 241ab14

Please sign in to comment.