org.apache.axis2.jaxws.message.databinding.impl
Class ClassFinderImpl

java.lang.Object
  extended by org.apache.axis2.jaxws.message.databinding.impl.ClassFinderImpl
All Implemented Interfaces:
ClassFinder

public class ClassFinderImpl
extends Object
implements ClassFinder


Constructor Summary
ClassFinderImpl()
           
 
Method Summary
 ArrayList<Class> getClassesFromJarFile(String pkg, ClassLoader cl)
          This method reads all the classes from given package in a jar file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFinderImpl

public ClassFinderImpl()
Method Detail

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


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.