org.apache.myfaces.spi
Class ServiceProviderFinder
java.lang.Object
org.apache.myfaces.spi.ServiceProviderFinder
- Direct Known Subclasses:
- DefaultServiceProviderFinder
public abstract class ServiceProviderFinder
- extends Object
This class provides an interface to override SPI handling done by
MyFaces.
This is useful on environments like in OSGi, because it allows to
put custom code to find SPI interfaces under META-INF/services/
- Since:
- 2.0.3
- Author:
- Leonardo Uribe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceProviderFinder
public ServiceProviderFinder()
getServiceProviderList
public abstract List<String> getServiceProviderList(String spiClass)
- Gets the list of classes bound to the spiClass key, looking
for entries under META-INF/services/[spiClass]
- Parameters:
spiClass
-
- Returns:
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.