}
private FaceletCache<DefaultFacelet> initCache(FaceletCache<DefaultFacelet> cache) {
if(cache == null) {
FaceletCacheFactory cacheFactory = (FaceletCacheFactory)
FactoryFinder.getFactory(FactoryFinder.FACELET_CACHE_FACTORY);
cache = cacheFactory.getFaceletCache();
}
// Create instance factories for the cache, so that the cache can
// create Facelets and Metadata Facelets
FaceletCache.MemberFactory<DefaultFacelet> faceletFactory =