Is it possible to declare an @In property in an (abstract) superclass, but 
allow subclasses to configure the actual component name that gets injected? 
Currently, the only way I found was to declare an abstract String 
getComponentName() in superclass, and retrieve the query via 
Component.getInstance(getComponentName()) instead of @In declaration - but I 
consider this way to be rather ugly.  Are there any alternatives, or maybe some 
planned enhancements?

Thanks,

Alex

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

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

Reply via email to