Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-5

9.5.1 Around-Invoke Interceptor example have wrong signature

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.EDR
    • 1.0
    • Interceptors
    • None

    Description

      The Interceptor example in section 9.5.1 use a illegal method signature for Around-Invoke interceptors:

      @AroundInvoke
      public void aroundInvoke() throws Exception

      { ... }

      (void and no InvocationContex argument)

      Around-invoke methods have the following signature:
      Object <METHOD>(InvocationContext) throws Exception

      Attachments

        Issue Links

          Activity

            People

              marius.bogoevici Marius Bogoevici (Inactive)
              aslak@redhat.com Aslak Knutsen
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: