[webbeans-dev] Fwd: Several proposals

Max Rydahl Andersen max.andersen at redhat.com
Thu Oct 30 06:15:53 EDT 2008


> Manager.parse()
> ===============
> 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  
configuration?

(sorry if the spec talks about it - I havent been able to find time to  
read the latest one yet (release time)

/max



More information about the weld-dev mailing list