[jboss-user] [EJB 3.0] - Default Interceptor Not called
jaikiran pai
do-not-reply at jboss.com
Thu Jul 15 09:54:57 EDT 2010
jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion
"Default Interceptor Not called"
To view the discussion, visit: http://community.jboss.org/message/552795#552795
--------------------------------------------------------------
> paresh bhavsar wrote:
>
>
> <interceptor-binding>
>
> <ejb-name>*</ejb-name>
>
> <interceptor-class>com.eks.ias.service.location.service.ExceptionInterceptor</interceptor-class>
>
> <method>
>
> <method-name>test</method-name>
>
> </method>
>
> </interceptor-binding>
>
>
As per the spec:
3.
<interceptor-binding>
<ejb-name>EJBNAME</ejb-name>
<interceptor-class>INTERCEPTOR</interceptor-class>
<method>
<method-name>METHOD</method-name>
</method>
</interceptor-binding>
This style is used to associate a method-level interceptor with
the specified enterprise bean. If there are multiple methods
with the same overloaded name, the element of this style refers
to all the methods with the overloaded name. Method-level
interceptors can only be associated with business methods of the
bean class. Note that the wildcard value * cannot be used
to specify method-level interceptors.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552795#552795]
Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100715/dec73187/attachment.html
More information about the jboss-user
mailing list