Top Description Fields Constructors Methods
com.sun.faces.config.manager.tasks

public Class FindAnnotatedConfigClasses

extends Object
implements Callable<Map<Class<? extends Annotation>, Set<Class<?>>>>
Class Inheritance
All Implemented Interfaces
java.util.concurrent.Callable
Static Imports
com.sun.faces.RIConstants.ANNOTATED_CLASSES, java.util.Collections.emptySet

Scans the class files within a web application returning a Set of classes that have been annotated with a standard Faces annotation (possibly limited to the annotations that denote configurable elements)

Field Summary

Modifier and TypeField and Description
private Set<Class<?>>
private InitFacesContext
private ProvideMetadataToAnnotationScanTask
private AnnotationProvider

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Map<Class<? extends Annotation>, Set<Class<?>>>
call()

Implements java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annotatedSetback to summary
private Set<Class<?>> annotatedSet
facesContextback to summary
private InitFacesContext facesContext
metadataGetterback to summary
private ProvideMetadataToAnnotationScanTask metadataGetter
providerback to summary
private AnnotationProvider provider

Constructor Detail

FindAnnotatedConfigClassesback to summary
public FindAnnotatedConfigClasses(ServletContext servletContext, InitFacesContext facesContext, ProvideMetadataToAnnotationScanTask metadataGetter)
Annotations
@SuppressWarnings:unchecked

Method Detail

callback to summary
public Map<Class<? extends Annotation>, Set<Class<?>>> call() throws Exception

Implements java.util.concurrent.Callable.call.

Doc from java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Returns:Map<Class<? extends Annotation>, Set<Class<?>>>

computed result

Annotations
@Override
Exceptions
Exception:
if unable to compute a result