Package org.apache.myfaces.spi.impl
Class DefaultServiceProviderFinder
java.lang.Object
org.apache.myfaces.spi.ServiceProviderFinder
org.apache.myfaces.spi.impl.DefaultServiceProviderFinder
- Since:
- 2.0.3
- Author:
- Leonardo Uribe
- 
Field SummaryFields inherited from class org.apache.myfaces.spi.ServiceProviderFinderKNOWN_SERVICES
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetServiceProviderList(String spiClass) Gets the list of classes bound to the spiClass key, looking for entries under META-INF/services/[spiClass]voidinitKnownServiceProviderMapInfo(ExternalContext ectx, Map<String, List<String>> map) If ServiceProviderFinderFactory knows beforehand or has stored somewhere the known locations of the SPI interfaces, this method helps to set this config information so the implementation of this interface can use it.<S> ServiceLoader<S>Methods inherited from class org.apache.myfaces.spi.ServiceProviderFindercalculateKnownServiceProviderMapInfo
- 
Constructor Details- 
DefaultServiceProviderFinderpublic DefaultServiceProviderFinder()
 
- 
- 
Method Details- 
getURLs
- 
getServiceProviderListDescription copied from class:ServiceProviderFinderGets the list of classes bound to the spiClass key, looking for entries under META-INF/services/[spiClass]- Specified by:
- getServiceProviderListin class- ServiceProviderFinder
- Returns:
 
- 
load- Overrides:
- loadin class- ServiceProviderFinder
 
- 
initKnownServiceProviderMapInfoDescription copied from class:ServiceProviderFinderIf ServiceProviderFinderFactory knows beforehand or has stored somewhere the known locations of the SPI interfaces, this method helps to set this config information so the implementation of this interface can use it. The idea is MyFaces initialization algorithm will call getKnownServiceProviderMapInfo method and if the value is not null it will call this method to pass the map back to the ServiceProviderFinder, so it can take it.- Overrides:
- initKnownServiceProviderMapInfoin class- ServiceProviderFinder
 
 
-