javax.enterprise.inject

## Annotation Type Decorated

-     @Target(value={PARAMETER,FIELD})
      @Retention(value=RUNTIME)
      @Documented
      @Qualifier
      public @interface Decorated

  A decorator may inject metadata about the bean it is decorating

       @Decorator
       class TimestampLogger implements Logger {
           @Inject
           @Delegate
           @Any
           Logger logger;

           @Inject
           @Decorated
           Bean<Logger> bean;

           void log(String message) {
             ...
          }
       }

  Since:
    1.1
  Author:
    Pete Muir

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.