[jboss-user] [JBoss Seam] - Re: @In with configurable component name - is it possible?

ASavitsky do-not-reply at jboss.com
Wed Apr 25 16:02:35 EDT 2007


Well, if it's the parent class that (exclusively) makes the use of foo, then I guess it makes sense to contain the foo declaration in parent class as much as possible. The only thing that child class does is wiring - specifying what component gets injected into foo. 

Regardign the second point - yes, it does look complicated in this particular case. Yet, the generic way of overriding annotations in class hierarchy (something that Java currently lacks on the language level, IMHO) might get useful in some situations, even if it's not going to be an often-used feature.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040732



More information about the jboss-user mailing list