Package org.biojava.utils
Class Services
- java.lang.Object
-
- org.biojava.utils.Services
-
-
Constructor Summary
Constructors Constructor Description Services()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set
getImplementationNames(Class serviceIF)
Return a Set of names of implementations of the given service interface in the classloader from which BioJava was loaded.static Set
getImplementationNames(Class serviceIF, ClassLoader loader)
Return a List of names of implementations of the given service interface available in a given classloader.
-
-
-
Constructor Detail
-
Services
public Services()
-
-
Method Detail
-
getImplementationNames
public static Set getImplementationNames(Class serviceIF) throws IOException
Return a Set of names of implementations of the given service interface in the classloader from which BioJava was loaded.- Throws:
IOException
-
getImplementationNames
public static Set getImplementationNames(Class serviceIF, ClassLoader loader) throws IOException
Return a List of names of implementations of the given service interface available in a given classloader.- Throws:
IOException
-
-