org.apache.axis2.jaxws.message.databinding
Interface ClassFinder
- All Known Implementing Classes:
- ClassFinderImpl
public interface ClassFinder
Method Summary |
java.util.ArrayList<java.lang.Class> |
getClassesFromJarFile(java.lang.String pkg,
java.lang.ClassLoader cl)
This method reads all the classes from given package in a jar file. |
void |
updateClassPath(java.lang.String filePath,
java.lang.ClassLoader cl)
This method will be used to add addition paths to existing classpath. |
getClassesFromJarFile
java.util.ArrayList<java.lang.Class> getClassesFromJarFile(java.lang.String pkg,
java.lang.ClassLoader cl)
throws java.lang.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:
java.lang.ClassNotFoundException
updateClassPath
void updateClassPath(java.lang.String filePath,
java.lang.ClassLoader cl)
throws java.lang.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:
java.lang.Exception
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.