Annotation Interface Nonbinding


@Retention(RUNTIME) @Target(METHOD) public @interface Nonbinding

Excludes a member of an annotation type (such as a qualifier type or interceptor binding type) from consideration when the container compares two annotation instances.

 @Qualifier
 @Retention(RUNTIME)
 @Target({ METHOD, FIELD, PARAMETER, TYPE })
 public @interface PayBy {
     PaymentMethod value();

     @Nonbinding
     String comment();
 }
 
Author:
Gavin King
See Also:
  • @Qualifier
  • @InterceptorBinding
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Supports inline instantiation of the Nonbinding annotation.