org.apache.axis2.jaxws.message.databinding
Interface ClassFinder
- All Known Implementing Classes:
- ClassFinderImpl
public interface ClassFinder
getClassesFromJarFile
ArrayList<Class> getClassesFromJarFile(String pkg,
ClassLoader cl)
throws ClassNotFoundException
- 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
void updateClassPath(String filePath,
ClassLoader cl)
throws Exception
- 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
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.