Hi!

Since WEBBEANS_XML_LOCATIONS in the MetaDataDiscoveryService is a 

> WEBBEANS_XML_LOCATIONS.put(addPath.getFile(), addPath.openStream());

and URL#openStream() is basically equivalent to 
openConnection().getInputStream()
we have all the beans.xml opened all the time. Is this really necessary? Can we 
somehow change the WEBBEANS_XML_LOCATIONS to only keep the URI and not even the 
URL (may cause opening a connection in some situations too)?

txs and LieGrue,
strub


PS: I will rename the variable to camelCase since it is no constant with my 
next checkin, so please wait for it - txs :)



Reply via email to