[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1135) Interceptor's tutorial page contains outdated XML

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Tue Nov 27 10:58:48 EST 2007


Interceptor's tutorial page contains outdated XML
-------------------------------------------------

                 Key: EJBTHREE-1135
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1135
             Project: EJB 3.0
          Issue Type: Bug
          Components: Documentation
    Affects Versions: AS 4.2.2.GA, AS 5.0.0.Beta3
            Reporter: Galder Zamarreno


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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list