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

[7.1] 8.2.11.1. Use Interceptors with CDI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Trivial Trivial
    • None
    • 7.0.0.GA
    • Documentation
    • None

      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

              rhn-support-pnag Priyanka Nag
              rhn-support-pnag Priyanka Nag
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: