Package org.apache.myfaces.spi
Class ServiceProviderFinderFactory
- java.lang.Object
- 
- org.apache.myfaces.spi.ServiceProviderFinderFactory
 
- 
 public class ServiceProviderFinderFactory extends Object Factory that provide a ServiceProviderFinder instance, that is used to locate classes through SPI interface.- Since:
- 2.0.3
- Author:
- Leonardo Uribe
 
- 
- 
Constructor SummaryConstructors Constructor Description ServiceProviderFinderFactory()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceProviderFindergetServiceProviderFinder(ExternalContext ectx)static voidsetServiceProviderFinder(ExternalContext ectx, ServiceProviderFinder slp)Set a ServiceProviderFinder to the current application, to locate SPI service providers used by MyFaces.static voidsetServiceProviderFinder(jakarta.servlet.ServletContext ctx, ServiceProviderFinder slp)
 
- 
- 
- 
Method Detail- 
getServiceProviderFinderpublic static ServiceProviderFinder getServiceProviderFinder(ExternalContext ectx) - Parameters:
- ectx-
- Returns:
 
 - 
setServiceProviderFinderpublic static void setServiceProviderFinder(ExternalContext ectx, ServiceProviderFinder slp) Set a ServiceProviderFinder to the current application, to locate SPI service providers used by MyFaces. This method should be called before the web application is initialized, specifically before AbstractFacesInitializer.initFaces(ServletContext) otherwise it will have no effect.- Parameters:
- ectx-
- slp-
 
 - 
setServiceProviderFinderpublic static void setServiceProviderFinder(jakarta.servlet.ServletContext ctx, ServiceProviderFinder slp)
 
- 
 
-