Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1217

Store interceptor binding annotations in ContextData

    XMLWordPrintableJSON

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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            arjan.tijms Arjan Tijms
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: