Hi All,
 I'm using EJB 3 interceptors, now I need  to apply them in method level.
 AFAIK, EJB3 specification include such feature, for instance:
 
@Interceptors(org.acme.MyInterceptor.class)
@ExcludeClassInterceptors
public void someMethod() {
}

EJB3 Core Draft Page 275

While trying to do this with JBoss 4.0.3-SP1 I found that  @Interceptor
and @Interceptors annotations target  TYPE elements.

So, I'm unable to define method level interceptors. 

I've  already checked the release notes for the  EJB 3.0 RC4 but there is 
nothing about this topic.

May be I'm missing something...

Cuold you please give me any comments about that?

regards.
art



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922945#3922945

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922945


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to