com.bm.ejb3metadata.finder
Class AnnonatedClassFinder

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

public class AnnonatedClassFinder
extends java.lang.Object

Scann a given archive or folder for annotated classes.

Author:
Daniel Wiese

Constructor Summary
AnnonatedClassFinder()
          Constructor.
 
Method Summary
 EjbJarAnnotationMetadata getResult(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnonatedClassFinder

public AnnonatedClassFinder()
Constructor.

Method Detail

getResult

public EjbJarAnnotationMetadata getResult(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 EjbJarAnnotationMetadata objetc with list of classes (format: com/siemens/MyClass)


Copyright © 2008. All Rights Reserved.