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: 902855 $ $Date: 2010-01-25 11:13:56 -0500 (Mon, 25 Jan 2010) $
Author:
Leonardo Uribe (latest modification by $Author: cjhoward $)

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(javax.faces.context.ExternalContext externalContext)
           
 
Method Summary
 void configure(javax.faces.application.Application application, FacesConfigDispenser<FacesConfig> dispenser, boolean metadataComplete)
           
protected  void configureClass(javax.faces.application.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(javax.faces.context.ExternalContext externalContext)
Method Detail

configure

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

configureClass

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


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