Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b81
    • Fix Version/s: 4.0_b82_EE7MS7
    • Component/s: ejb_container
    • Labels:
      None

      Description

      Task4 - implement support for constructor-level interceptors in DD

        Activity

        Hide
        marina vatkina added a comment -

        The interceptor-binding needs to be specified as
        <interceptor-binding>
        <ejb-name>SlessEJB</ejb-name>
        <interceptor-class>com.acme.InterceptorB</interceptor-class>
        <exclude-class-interceptors>true</exclude-class-interceptors>
        <method>
        <method-name>SlessEJB</method-name>
        <method-params/>
        </method>
        </interceptor-binding>

        Note - unqualified class name as the method-name.

        <method-params/> is currently required

        Show
        marina vatkina added a comment - The interceptor-binding needs to be specified as <interceptor-binding> <ejb-name>SlessEJB</ejb-name> <interceptor-class>com.acme.InterceptorB</interceptor-class> <exclude-class-interceptors>true</exclude-class-interceptors> <method> <method-name>SlessEJB</method-name> <method-params/> </method> </interceptor-binding> Note - unqualified class name as the method-name. <method-params/> is currently required
        Hide
        marina vatkina added a comment -

        Fixed with adding constructor handling to the code that resolves partial methods
        Sending ejb-container/src/main/java/org/glassfish/ejb/deployment/util/EjbBundleValidator.java
        Transmitting file data .
        Committed revision 60712.

        method-params is now optional, and the binding will work with:

        <interceptor-binding>
        <ejb-name>SlessEJB</ejb-name>
        <interceptor-class>com.acme.InterceptorB</interceptor-class>
        <exclude-class-interceptors>true</exclude-class-interceptors>
        <method>
        <method-name>SlessEJB</method-name>
        </method>
        </interceptor-binding>

        Show
        marina vatkina added a comment - Fixed with adding constructor handling to the code that resolves partial methods Sending ejb-container/src/main/java/org/glassfish/ejb/deployment/util/EjbBundleValidator.java Transmitting file data . Committed revision 60712. method-params is now optional, and the binding will work with: <interceptor-binding> <ejb-name>SlessEJB</ejb-name> <interceptor-class>com.acme.InterceptorB</interceptor-class> <exclude-class-interceptors>true</exclude-class-interceptors> <method> <method-name>SlessEJB</method-name> </method> </interceptor-binding>

          People

          • Assignee:
            marina vatkina
            Reporter:
            marina vatkina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: