|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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) { ... } }
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |