public class ScannotationDB extends Object implements IAnnotationDB
AnnotationDB
from scannotation.init()
Constructor and Description |
---|
ScannotationDB()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getClassesName(Class<? extends Annotation> annotationType)
Finds the class having the given annotation
|
Set<String> |
getClassesName(String strAnnotationType)
Finds classes having the given annotation
|
String |
getFileFilter()
Gets the filename filter
|
void |
init()
Scans the WEB-INF/classes and WEB-INF/lib using
getFileFilter() to filter jars. |
void |
setFileFilter(String strFileFilter)
Sets the filename filter
|
public String getFileFilter()
public void setFileFilter(String strFileFilter)
strFileFilter
- the filename filterpublic void init()
getFileFilter()
to filter jars.init
in interface IAnnotationDB
public Set<String> getClassesName(Class<? extends Annotation> annotationType)
getClassesName
in interface IAnnotationDB
annotationType
- the annotationpublic Set<String> getClassesName(String strAnnotationType)
getClassesName
in interface IAnnotationDB
strAnnotationType
- the annotation type nameCopyright © 2020 City of Paris. All rights reserved.