Top Description Constructors Methods
com.sun.faces.application.annotation

pack-priv Class ResourceDependencyScanner

extends Object
implements Scanner
Class Inheritance
All Implemented Interfaces
com.sun.faces.application.annotation.Scanner
Imports
java.lang.annotation.Annotation, com.sun.faces.util.Util, jakarta.faces.application.ResourceDependencies, .ResourceDependency

Scanner implementation responsible for ResourceDependency annotations.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Class<? extends Annotation>
public RuntimeAnnotationHandler
scan(Class<?>
the target class
clazz
)

Implements com.sun.faces.application.annotation.Scanner.scan.

Scan the target class for the java.lang.annotation.Annotations this scanner handles.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ResourceDependencyScannerback to summary
pack-priv ResourceDependencyScanner()

Method Detail

getAnnotationback to summary
public Class<? extends Annotation> getAnnotation()

Implements com.sun.faces.application.annotation.Scanner.getAnnotation.

Returns:Class<? extends Annotation>

Doc from com.sun.faces.application.annotation.Scanner.getAnnotation.

the java.lang.annotation.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.

Annotations
@Override
scanback to summary
public RuntimeAnnotationHandler scan(Class<?> clazz)

Implements com.sun.faces.application.annotation.Scanner.scan.

Doc from com.sun.faces.application.annotation.Scanner.scan.

Scan the target class for the java.lang.annotation.Annotations this scanner handles.

Parameters
clazz:Class<?>

the target class

Returns:RuntimeAnnotationHandler

a new RuntimeAnnotationHandler instance capable of processing the annotations defined on this class. If no relevant java.lang.annotation.Annotations are found, return null.

Annotations
@Override