Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-1135

Interceptor's tutorial page contains outdated XML

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0
    • AS 4.2.2.GA, AS 5.0.0.Beta3
    • docs
    • None
    • Interactive Demo/Tutorial
    • Low
    • jboss-ejb3-tutorials-1.1.0

      ejb3/docs/tutorial/interceptor/interceptor.html contains outdated XML, i.e:

      <interceptor-binding>
      <ejb-name>org.jboss.tutorial.interceptor.bean.EmailSystemBean</ejb-name>
      <interceptor-class>org.jboss.tutorial.interceptor.bean.AccountsCancelInterceptor</interceptor-class>
      <method-name>sendBookingCancellationMessage</method-name>
      </interceptor-binding>

      should be:

      <interceptor-binding>
      <ejb-name>org.jboss.tutorial.interceptor.bean.EmailSystemBean</ejb-name>
      <interceptor-class>org.jboss.tutorial.interceptor.bean.AccountsCancelInterceptor</interceptor-class>
      <method>
      <method-name>sendBookingCancellationMessage</method-name>
      </method>
      </interceptor-binding>

      i.e.2:

      <interceptor-binding>
      <ejb-name>MyBean</ejb-name>
      <interceptor-class>SomeInterceptor</interceptor-class>
      <method-name>overLoadedMethod</method-name>
      <method-params>
      <method-param>int</method-param>
      <method-param>java.lang.String[][]</method-param>
      </method-params>

      </interceptor-binding>

      should be:

      <interceptor-binding>
      <ejb-name>MyBean</ejb-name>
      <interceptor-class>SomeInterceptor</interceptor-class>
      <method>
      <method-name>overLoadedMethod</method-name>
      <method-params>
      <method-param>int</method-param>
      <method-param>java.lang.String[][]</method-param>
      </method-params>
      </method>
      </interceptor-binding>

              jaikiran Jaikiran Pai (Inactive)
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: