com.bm.ejb3metadata.finder
Class ClassFinder

java.lang.Object
  extended by com.bm.ejb3metadata.finder.ClassFinder

public class ClassFinder
extends java.lang.Object

This class discover implementations for interfaces. The current implementation takes "is happy" with one possible impelmentation. If a interface has two implementations it´s currently not defined which one if going to be returned

Since:
13.11.2005
Author:
Daniel Wiese

Constructor Summary
ClassFinder()
           
 
Method Summary
 java.util.List<java.lang.String> getListOfClasses(java.lang.Class firstSearchClue)
          Searches all classes in a given directory (up to top lever and from there recursive) of in a given jar file.
 java.util.List<java.lang.String> getListOfClasses(java.lang.String firstSearchClue)
          Searches all classer in a given directory (up to top lever and from there recursive) of in a given jar file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFinder

public ClassFinder()
Method Detail

getListOfClasses

public java.util.List<java.lang.String> getListOfClasses(java.lang.Class firstSearchClue)
Searches all classes in a given directory (up to top lever and from there recursive) of in a given jar file.

Parameters:
firstSearchClue - - the location of this class will be used as a hint , where to start with the search
Returns:
- a list of classes (format: com/siemens/MyClass)

getListOfClasses

public java.util.List<java.lang.String> getListOfClasses(java.lang.String firstSearchClue)
Searches all classer in a given directory (up to top lever and from there recursive) of in a given jar file.

Parameters:
firstSearchClue -
Returns:


Copyright © 2008. All Rights Reserved.