com.sun.faces.application.annotation
public class RenderKitConfigHandler extends java.lang.Object implements ConfigAnnotationHandler
ConfigAnnotationHandler
FacesRenderer
annotated classes.
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<java.lang.Class<?>,java.lang.annotation.Annotation> |
annotatedRenderers |
private static java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> |
HANDLES |
Constructor and Description |
---|
RenderKitConfigHandler() |
Modifier and Type | Method and Description |
---|---|
void |
collect(java.lang.Class<?> target,
java.lang.annotation.Annotation annotation)
Collect metadata based on the provided
Class and
Annotation to be processed later by ConfigAnnotationHandler.push(javax.faces.context.FacesContext) . |
java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getHandledAnnotations() |
void |
push(javax.faces.context.FacesContext ctx)
Push |
private static final java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> HANDLES
java.util.Map<java.lang.Class<?>,java.lang.annotation.Annotation> annotatedRenderers
public java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> getHandledAnnotations()
getHandledAnnotations
in interface ConfigAnnotationHandler
Collection
of annotations handled by this
ConfigAnnotationHandler implementationConfigAnnotationHandler.getHandledAnnotations()
public void collect(java.lang.Class<?> target, java.lang.annotation.Annotation annotation)
ConfigAnnotationHandler
Collect metadata based on the provided Class
and
Annotation
to be processed later by ConfigAnnotationHandler.push(javax.faces.context.FacesContext)
.
NOTE: This method may be called more than once.
collect
in interface ConfigAnnotationHandler
target
- annotated classannotation
- Annotation
to processConfigAnnotationHandler.collect(Class, java.lang.annotation.Annotation)
public void push(javax.faces.context.FacesContext ctx)
ConfigAnnotationHandler
Push the configuration based on the collected metadata
to the current application.
push
in interface ConfigAnnotationHandler
ConfigAnnotationHandler.push(javax.faces.context.FacesContext)
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.