org.apache.myfaces.config
Class ManagedBeanBuilder

java.lang.Object
  extended by org.apache.myfaces.config.ManagedBeanBuilder

public class ManagedBeanBuilder
extends Object

Create and initialize managed beans

Author:
Oliver Rossmueller (latest modification by $Author: struberg $), Anton Koinov

Field Summary
static String APPLICATION
           
static String NONE
           
static String REQUEST
           
static String SESSION
           
static String VIEW
           
 
Constructor Summary
ManagedBeanBuilder()
           
 
Method Summary
 Object buildManagedBean(FacesContext facesContext, ManagedBean beanConfiguration)
           
static
<T> T
coerceToType(FacesContext facesContext, Object value, Class<? extends T> desiredClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST

public static final String REQUEST
See Also:
Constant Field Values

VIEW

public static final String VIEW
See Also:
Constant Field Values

APPLICATION

public static final String APPLICATION
See Also:
Constant Field Values

SESSION

public static final String SESSION
See Also:
Constant Field Values

NONE

public static final String NONE
See Also:
Constant Field Values
Constructor Detail

ManagedBeanBuilder

public ManagedBeanBuilder()
Method Detail

buildManagedBean

public Object buildManagedBean(FacesContext facesContext,
                               ManagedBean beanConfiguration)
                        throws FacesException
Throws:
FacesException

coerceToType

public static <T> T coerceToType(FacesContext facesContext,
                                 Object value,
                                 Class<? extends T> desiredClass)


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