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 StringfindService(String name)
Find the first listed provider for the given service name
static EnumerationfindServices(String name)
Return an Enumeration of class name Strings of available provider classes for the given service.

Method Detail

findService

public static String findService(String name)
Find the first listed provider for the given service name

findServices

public static Enumeration findServices(String name)
Return an Enumeration of class name Strings of available provider classes for the given service.