Injection is by variable name not by class.  So

@Name("foo")
  | class Foo {
  | ...
  | }

@In(create=true) Foo foo;
  | 
  | // or
  | 
  | @In(create=true, value="foo") Foo createFoo;

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

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

Reply via email to