SeamInterceptor doesn't work

  | @Target(ElementType.TYPE)
  | @Retention(RetentionPolicy.RUNTIME)
  | @Interceptors(DomainValidator.class) 
  | public @interface Validated {
  |     
  | }
  | 


  | @Stateless
  | @Validated
  | @Interceptors(SeamInterceptor.class)
  | @Name("groupManager")
  | @TransactionAttribute(TransactionAttributeType.SUPPORTS)
  | public class GroupManager extends AbstractManager implements IGroupManager {
  | ...
  | ...
  | }
  | 


  | @Interceptor
  | public class DomainValidator {
  | 
  |     @AroundInvoke
  |     public Object validate(InvocationContext invocationContext) throws 
Exception {
  |             Method method = invocationContext.getMethod();
  |             Object[] parameters = invocationContext.getParameters();
  |             
  |             Object instance = invocationContext.getTarget();
  |             
  |             System.out.println("========================================>");
  |             
  |             return invocationContext.proceed();
  |     }
  | }
  | 

Please, help me
Have you any idea ?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101837
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to