This content has been marked as final.
Show 2 replies
-
1. Re: org.jboss.seam.intercept.Interceptor limits the number of Interceptors
trossmy Jun 19, 2009 8:38 AM (in response to larshuber)Lars, since this issue is quite old, did u apply a patch or implement some kind of workaround for it?
-
2. Re: org.jboss.seam.intercept.Interceptor limits the number of Interceptors
larshuber Jun 19, 2009 8:50 AM (in response to larshuber)I don't know if it's a workaround or actually standard use. I created for each Interceptor it's own annotation. These annotations you can put on your classes instead of @Interceptors(...) directly.
@Target({ ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited @Interceptors(ServiceExceptionInterceptor.class) public @interface ServiceException { }
@Target({ ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited @Interceptors(ServiceSecurityInterceptor.class) public @interface ServiceSecurity { }
@ServiceSecurity @ServiceException public class BaseService implements Serializable { }