com.bluecast.util
Class FactoryServiceFinder
public
class
FactoryServiceFinder
extends Object
This class can enumerate all the Providers of a particular Service. It
searches the classpath for META-INF/services/ and returns
the first line of each service. That string is usually the name of the
factory class implementing the requested service.
Method Summary |
static String | findService(String name)
Find the first listed provider for the given service name |
static Enumeration | findServices(String name)
Return an Enumeration of class name Strings of
available provider classes for the given service. |
public static String findService(String name)
Find the first listed provider for the given service name
public static Enumeration findServices(String name)
Return an Enumeration of class name Strings of
available provider classes for the given service.