org.apache.axis2.jaxws.message.databinding.impl
Class ClassFinderImpl
java.lang.Object
org.apache.axis2.jaxws.message.databinding.impl.ClassFinderImpl
- All Implemented Interfaces:
- ClassFinder
public class ClassFinderImpl
- extends Object
- implements ClassFinder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassFinderImpl
public ClassFinderImpl()
getClassesFromJarFile
public ArrayList<Class> getClassesFromJarFile(String pkg,
ClassLoader cl)
throws ClassNotFoundException
- Description copied from interface:
ClassFinder
- 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.
- Specified by:
getClassesFromJarFile
in interface ClassFinder
- Returns:
-
- Throws:
ClassNotFoundException
updateClassPath
public void updateClassPath(String filePath,
ClassLoader cl)
throws Exception
- Description copied from interface:
ClassFinder
- 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.
- Specified by:
updateClassPath
in interface ClassFinder
- Throws:
Exception
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.