Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4826

8.2.11.1. Use Interceptors with CDI

    XMLWordPrintable

Details

    Description

      Document: https://access.stage.redhat.com/documentation/en/red-hat-jboss-enterprise-application-platform//7.0/development-guide/chapter-8-contexts-and-dependency-injection-cdi

      Issues & suggested solutions:

      • (1) 8.2.11.1. Use Interceptors with CDI chapter contains a section named Example: Interceptors without CDI
        • I believe this example should be removed. We want to introduce CDI and how to use interceptors WITH CDI.
        • Besides using non-CDI interceptor with CDI enabled suggests you are asking for a trouble (non-CDI interceptors get picked up as regular beans which is often problematic)
        • It is ok to leave the lines before explaining the problem of interceptors without CDI
      • (2) sub-chapter Use interceptors with CDI should be promoted one level higher in the hierarchy of the chapters
        • E.g. make it bigger, equal to the current size of Example: Interceptors without CDI

      Attachments

        Issue Links

          Activity

            People

              rhn-support-pnag Priyanka Pandey
              manovotn Matěj Novotný
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: