Can anyone tell me why this doesn't work?

Injector:
@In(required = false, create = true)
  | @Out(required = false, scope = SESSION)
  | private DefaultPaginator paginator;
  | 
  | @Factory("paginator")
  | public void loadDefaultPaginator() {
  |     System.out.println("Loaded the paginator");
  |     paginator = (DefaultPaginator) Component.getInstance("paginator");
  | }


Injectee:
@Name("paginator")
  | @Scope(SESSION)
  | public class DefaultPaginator implements Paginator {    
  |     public DefaultPaginator() {}
  | }

I get hundreds of the System.out message before it finally dies with a 
StackOverflowError.  

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

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

Reply via email to