[jboss-user] [JBoss Seam] - Re: @In with configurable component name - is it possible?
ASavitsky
do-not-reply at jboss.com
Wed Apr 25 13:57:11 EDT 2007
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
More information about the jboss-user
mailing list