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 java.lang.Object
implements ClassFinder


Constructor Summary
ClassFinderImpl()
           
 
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.
 
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 java.util.ArrayList<java.lang.Class> getClassesFromJarFile(java.lang.String pkg,
                                                                  java.lang.ClassLoader cl)
                                                           throws java.lang.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:
java.lang.ClassNotFoundException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.