Top Description Methods
javax.enterprise.inject

public @Interface Decorated

extends Annotation
Annotations
@Target:PARAMETER, FIELD
@Retention:RUNTIME
@Documented
@Qualifier
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.PARAMETER, .RetentionPolicy.RUNTIME

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) {
      ...
   }
}
Author
Pete Muir
Since
1.1

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString