Package org.apache.myfaces.spi
package org.apache.myfaces.spi
-
ClassDescriptionThis interface provide a way to override myfaces annotation scanning algorithm that needs to be found at startup:
FacesComponent
FacesBehavior
FacesConverter
NamedEvent
FacesRenderer
FacesBehaviorRenderer
FacesValidator
Factory that provide AnnotationProvider instancesWrapper class that all AnnotationProvider instances should extend.Locate facelet taglib xml files through classpath.Factory that provide FaceletConfigResourceProvider instancesLocate faces-config xml files through classpath.Factory that provide FacesConfigResourceProvider instancesSPI that uses the FacesConfigurationProvider-SPI to get all FacesConfig data and then it combines it into one FacesConfigData instance.SPI to provide a FacesConfigurationMergerFactory implementation and thus a custom FacesConfigurationMerger instance.This interface provide a way to merge and store all Faces config information retrieved from faces-config files, META-INF/service files and annotations that works as base point to initialize MyFaces.SPI to provide a FacesConfigurationProviderFactory implementation and thus a custom FacesConfigurationProvider instance.To wrap the default FacesConfigurationProvider, use a constructor like CustomFacesConfigurationProvider(FacesConfigurationProvider fcp) and extend it from FacesConfigurationProviderWrapperSPI to provide a FacesFlowProviderFactory implementation and thus a custom FacesFlowProvider instance.Provide an interface to overrideFactoryFinder
class methods.FactoryFinder
is a class with three methods:Provide an interface to inject Faces artifacts using JavaEE annotations as described in Faces 2.2 spec section 5.4Locate resource library contracts, implementing the behavior described in Faces 2.2 section 11.4.2.1 related to discover the available resource library contracts.Factory that provide ResourceLibraryContractsProvider instancesThis class provides an interface to override SPI handling done by MyFaces.Factory that provide a ServiceProviderFinder instance, that is used to locate classes through SPI interface.This class provides an interface to separate the state caching operations (saving/restoring) from the renderkit specific stuff that HtmlResponseStateManager should do.SPI to provide a custom WebConfigProvider implementation.SPI to provide a WebConfigProviderFactory implementation and thus a custom WebConfigProvider instance.