Package org.apache.openjpa.lib.meta
Class ClassAnnotationMetaDataFilter
java.lang.Object
org.apache.openjpa.lib.meta.ClassAnnotationMetaDataFilter
- All Implemented Interfaces:
MetaDataFilter
Filter that looks for classes with one of a set of annotations.
See JDK 1.5 JVM spec for details on annotation bytecode:
java.sun.com/docs/books/vmspec/2nd-edition/ClassFileFormat-final-draft.pdf
java.sun.com/docs/books/vmspec/2nd-edition/ClassFileFormat-final-draft.pdf
- Author:
- Abe White
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.openjpa.lib.meta.MetaDataFilter
MetaDataFilter.Resource
-
Constructor Summary
ConstructorDescriptionClassAnnotationMetaDataFilter
(Class<?> anno) Constructor; supply annotation to match against.ClassAnnotationMetaDataFilter
(Class<?>[] annos) Constructor; supply annotations to match against. -
Method Summary
-
Constructor Details
-
ClassAnnotationMetaDataFilter
Constructor; supply annotation to match against. -
ClassAnnotationMetaDataFilter
Constructor; supply annotations to match against.
-
-
Method Details
-
matches
Description copied from interface:MetaDataFilter
Return whether the given resource passes the filter.- Specified by:
matches
in interfaceMetaDataFilter
- Throws:
IOException
-
getLog
-
setLog
-