com.sun.faces.application.annotation
Constructor and Description |
---|
ListenerForScanner() |
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. |
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotation()
getAnnotation
in interface Scanner
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.public RuntimeAnnotationHandler scan(java.lang.Class<?> clazz)
Scanner
Annotation
s this scanner handles.scan
in interface Scanner
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.