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>
- is related to
-
EJBTHREE-1607 Update tutorials
- Resolved