org.apache.myfaces.spi
Class ServiceProviderFinder

java.lang.Object
  extended by 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

Constructor Summary
ServiceProviderFinder()
           
 
Method Summary
abstract  List<String> getServiceProviderList(String spiClass)
          Gets the list of classes bound to the spiClass key, looking for entries under META-INF/services/[spiClass]
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceProviderFinder

public ServiceProviderFinder()
Method Detail

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.