public class PrettyAnnotationHandler extends Object implements ClassVisitor
| Constructor and Description |
|---|
PrettyAnnotationHandler(LazyBeanNameFinder beanNameFinder)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(PrettyConfigBuilder builder)
This methods adds all mappings found to the supplied
PrettyConfigBuilder. |
String[] |
processClassMappingAnnotations(Class<?> clazz)
Checks for PrettyFaces mapping annotations on a single class
|
void |
visit(Class<?> clazz)
This method scans the supplied class for PrettyFaces annotations.
|
public PrettyAnnotationHandler(LazyBeanNameFinder beanNameFinder)
public void visit(Class<?> clazz)
build(PrettyConfigBuilder).visit in interface ClassVisitorclazz - The class to scanpublic String[] processClassMappingAnnotations(Class<?> clazz)
clazz - Class to scanpublic void build(PrettyConfigBuilder builder)
PrettyConfigBuilder. It should be called after all
classes has been scanned via #processClass(Class).builder - The builder to add the mappings toCopyright © 2014 OCPsoft. All Rights Reserved.