My main concern with your approach is that the whole @In semantics gets lost
from the parent class, even though it clearly belongs there. I was thinking of
something like an @Override annotation that would look something like:
public class Parent {
| @In private Foo foo;
| }
|
| @Override (
| property = "foo",
| overrides = {
| @In ("specificFoo")
| })
| public class Child {
| }
I found that it's possible to do the overriding in XML, but that's static DI,
not bijection. I'll try making foo a Seam's ValueBinding, maybe that would
result in true bijected foo...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040701#4040701
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040701
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user