Description:
|
If you have a beans.xml file, Resin scans the classpath for webbeans. This is great. If you define one of those beans in the beans.xml, you can provide configuration to the webbeans. This is also great.
Unfortunately, if you try configuring these beans in resin-web.xml, Resin creates duplicate entries in the inject manager rather than overriding the scanned entry. If this worked, it would be the Coolest Thing Ever, because then you could provide all manner of interesting configuration possibilities with the <resin:if>, <resin:import>, etc conditionals.
Right now, it seems you cannot configure beans in resin-web.xml at all if you have a beans.xml. |