Top Description Methods
javax.enterprise.inject

public @Interface Intercepted

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

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 { ... }

}
Author
Pete Muir
Since
1.1

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString