Skip to content

Commit

Permalink
@eager shouldn't be a qualifier otherwise injection points without th…
Browse files Browse the repository at this point in the history
…e annotation cannot be satisfied.

Note that javax.ejb.Startup is not a qualifier but a simple annotation.

By the way, I don't think other projects would be interested in using the extension as they all rely on JavaEE 7 and not just JAX-RS and Servlet.
  • Loading branch information
tsegismont committed Jun 5, 2015
1 parent 83c1d75 commit ecf6828
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import javax.inject.Qualifier;

/**
* This class was taken from http://www.javacodegeeks.com/2013/02/jsf-eager-cdi-beans.html
* <br><br>
Expand All @@ -31,7 +29,6 @@
*
* @author John Sanda
*/
@Qualifier
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Eager {
Expand Down

0 comments on commit ecf6828

Please sign in to comment.