You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Ivan <xh...@gmail.com> on 2010/12/08 03:21:52 UTC

How to add correct faces configuraiton files from the classloader hierarchy

Hi,
   Now, we uses a bundle tracker to keep all the faces-config.xml file, and
add them all to the final faces configuraiton, which is not an expected
behavior.
   I thought it for a while, and could see two solutions, they are all based
on *GERONIMO-5680 <https://issues.apache.org/jira/browse/GERONIMO-5680>*
   a. Since we have accurate wired bundles, bundle classloader should still
work to search all the faces configuraiton files.
   b. Still use current bundle tracker, it will keeps a map between artifact
and pre-parsed facesConfig object instance, with dependency manager, we
should get all the dependency artifact.
   IMO, the option b is better, it will also promote the deployment time.
Thoughts ?
-- 
Ivan