My problem was test.
I add a @BeforeMethod method inside test class for creating EJB and interceptor 
works fine.
I don't know if it's a good solution.
If you have any idea or comment, tell me please.


  |     @BeforeMethod
  |     public void before() throws Exception {
  |             if (groupManager == null)
  |                     new FacesRequest() {
  |                             protected void invokeApplication() throws 
Exception {
  |                                     groupManager = (IGroupManager) Component
  |                                                     
.getInstance("groupManager");
  |                             }
  |                     }.run();
  |     }
  | 


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

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

Reply via email to