Currently the only place that Web Beans may be declared using XML is a
file named web-beans.xml. I can see that third-party extensions would
like to allow web bean declarations to live in other files. So I would
like to propose the addition of a public parse() method to the Manager
interface that would load and parse a file with a given path from the
classpath and install all web beans declared therein.
Does the file have to be on the classpath ?
How about simply passing in a Dom or is there an API for programmatically
(sorry if the spec talks about it - I havent been able to find time to
read the latest one yet (release time)