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
RC5 (we've done a release past RC4) follows EJB3 PFD. Also, JBoss 4.0.4 app server has EJB3 bundled too.