Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.1
-
None
-
None
Description
Unfortunately CDI doesn't give us an easy way to obtain the interceptor binding annotations from an interceptor call. See https://issues.jboss.org/browse/CDI-468
Weld has a workaround for this that can be used until there's an actual spec compliant solution:
Set<Annotation> bindings = (Set<Annotation>) invocationContext.getContextData().get("org.jboss.weld.interceptor.bindings");
It would be great if OWB could do the same.