|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={PARAMETER,FIELD}) @Retention(value=RUNTIME) @Documented @Qualifier public @interface Intercepted
An interceptor may inject metadata about the bean it is intercepting.
@Transactional @@Interceptor public class TransactionInterceptor { @Inject @Intercepted Bean<?> bean; @AroundInvoke public Object manageTransaction(InvocationContext ctx) throws Exception { ... } }
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |