Mantis - Resin
Viewing Issue Advanced Details
3546 major always 06-03-09 04:32 06-03-09 10:05
voodude  
ferg  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.1  
0003546: Webbeans configured in resin-web.xml duplicate scanned beans
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.

Notes
(0004052)
ferg   
06-03-09 10:05   
ioc/0434