I have a EJB3 interceptor inside Stateless with Seam 2.0.0-CR3.
Deployment and invocation from facelet works fine. 
The same ejb method invoked from TestNG doesn't execute interceptor.
Is problem related to embeddable EJB3 container configuration ?
Thank you



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


  | @Stateless
  | @TransactionAttribute(TransactionAttributeType.SUPPORTS)
  | @Interceptors(DomainValidator.class)
  | @Name("groupManager")
  | public class GroupManager extends AbstractManager implements IGroupManager {
  | ...
  | ...
  | 
  |     public String hello() {
  |             return "CIAO";
  |     }
  | 
  | ...
  | }
  | 

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

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

Reply via email to