glassfish
  1. glassfish
  2. GLASSFISH-16305

Interceptor Bindings are not working with @Schedule methods

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 4.0
    • Component/s: cdi
    • Labels:
      None
    • Environment:

      Windows XP SP2

      Description

      I try to use an interceptor Binding around an @Schedule-annotated method but the interceptor linked to the interceptor binding for this method is never invoked. (see. http://www.java.net/forum/topic/glassfish/glassfish/glassfish-31-interceptor-bindings-schedule)

      The same interceptor binding and interceptor works fine with @Timeout annotated method.

      The intercetor Binding and interceptor works fine when declared in ejb-jar.xml but not with annotations.

      In attachment please find the code sample I use to test it under glassfish v3.1.

        Activity

        Sergio created issue -
        marina vatkina made changes -
        Field Original Value New Value
        Assignee marina vatkina [ mvatkina ] jjsnyder83 [ jjsnyder83 ]
        Component/s cdi [ 10637 ]
        Component/s ejb_container [ 10596 ]
        jjsnyder83 made changes -
        Fix Version/s 4.0 [ 10970 ]
        arjavdesai made changes -
        Assignee jjsnyder83 [ jjsnyder83 ] arjavdesai [ arjavdesai ]
        arjavdesai made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        arjavdesai made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        arjavdesai made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            arjavdesai
            Reporter:
            Sergio
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: