Interface ClassFinder
- All Known Implementing Classes:
ClassFinderImpl
public interface ClassFinder
-
Method Summary
Modifier and TypeMethodDescriptiongetClassesFromJarFile(String pkg, ClassLoader cl) This method reads all the classes from given package in a jar file.voidupdateClassPath(String filePath, ClassLoader cl) This method will be used to add addition paths to existing classpath.
-
Method Details
-
getClassesFromJarFile
This method reads all the classes from given package in a jar file. It uses ClassLoader to find the given package in a jar file that is located in classpath.- Parameters:
pkg-cl-- Returns:
- Throws:
ClassNotFoundException
-
updateClassPath
This method will be used to add addition paths to existing classpath. We may need to add classpath to search for jax-ws wrapper classes that applicaiton developer did not package.- Parameters:
filePath- : path of the location where wrapper classes may be stored. example a cache folder.cl-- Throws:
Exception
-