org.glassfish.osgiweb
Class OSGiFaceletConfigResourceProvider

java.lang.Object
  extended by org.glassfish.osgiweb.OSGiFaceletConfigResourceProvider
All Implemented Interfaces:
com.sun.faces.spi.ConfigurationResourceProvider, com.sun.faces.spi.FaceletConfigResourceProvider

public class OSGiFaceletConfigResourceProvider
extends Object
implements com.sun.faces.spi.FaceletConfigResourceProvider, com.sun.faces.spi.ConfigurationResourceProvider

Built-in com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider can't discover resources named as xxx.taglib.xml. This config resource provider knows how to iterate over bundle entries in order to discover the resources. It is registered as a META-INF service so that mojarra can discover it.

Author:
Sanjeeb.Sahoo@Sun.COM
See Also:
OSGiWebModuleDecorator.discoverJSFConfigs(org.osgi.framework.Bundle, java.util.Collection, java.util.Collection)

Field Summary
 
Fields inherited from interface com.sun.faces.spi.FaceletConfigResourceProvider
SERVICES_KEY
 
Constructor Summary
OSGiFaceletConfigResourceProvider()
           
 
Method Summary
 Collection<URI> getResources(javax.servlet.ServletContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiFaceletConfigResourceProvider

public OSGiFaceletConfigResourceProvider()
Method Detail

getResources

public Collection<URI> getResources(javax.servlet.ServletContext context)
Specified by:
getResources in interface com.sun.faces.spi.ConfigurationResourceProvider


Copyright © 2012 GlassFish Community. All Rights Reserved.