com.sun.faces.application.annotation
interface Scanner
Instances of this interface are responsible for scanning a Class
for a specific annotation types.
Scanner implementations must be thread safe.
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotation() |
RuntimeAnnotationHandler |
scan(java.lang.Class<?> clazz)
Scan the target class for the
Annotation s this scanner handles. |
java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotation()
Annotation
this Scanner
is responsible for handling. NOTE: while a particular Scanner
instance may handle a plural version of an Annotation
in
additional to a singular, this method must return the singular version
only.RuntimeAnnotationHandler scan(java.lang.Class<?> clazz)
Annotation
s this scanner handles.clazz
- the target classRuntimeAnnotationHandler
instance capable of processing the
annotations defined on this class. If no relevant Annotation
s
are found, return null
.Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.