org.apache.myfaces.config.annotation
Class AnnotationConfigurator

java.lang.Object
  extended by org.apache.myfaces.config.annotation.AnnotationConfigurator

public class AnnotationConfigurator
extends java.lang.Object

Configure all annotations that needs to be defined at startup.

Some parts copied from org.apache.shale.tiger.view.faces.LifecycleListener2

Since:
2.0
Version:
$Revision: 931412 $ $Date: 2010-04-06 21:56:36 -0500 (Tue, 06 Apr 2010) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Field Summary
static java.lang.String SCAN_PACKAGES
           Servlet context init parameter which defines which packages to scan for beans, separated by commas.
 
Constructor Summary
AnnotationConfigurator(ExternalContext externalContext)
           
 
Method Summary
 void configure(Application application, FacesConfigDispenser<FacesConfig> dispenser, boolean metadataComplete)
           
protected  void configureClass(Application application, FacesConfigDispenser<FacesConfig> dispenser, java.lang.Class clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCAN_PACKAGES

@JSFWebConfigParam(since="2.0")
public static final java.lang.String SCAN_PACKAGES

Servlet context init parameter which defines which packages to scan for beans, separated by commas.

See Also:
Constant Field Values
Constructor Detail

AnnotationConfigurator

public AnnotationConfigurator(ExternalContext externalContext)
Method Detail

configure

public void configure(Application application,
                      FacesConfigDispenser<FacesConfig> dispenser,
                      boolean metadataComplete)
               throws FacesException
Throws:
FacesException

configureClass

protected void configureClass(Application application,
                              FacesConfigDispenser<FacesConfig> dispenser,
                              java.lang.Class clazz)
Parameters:
application -
dispenser -
clazz -


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.