org.apache.myfaces.config
Class ManagedBeanBuilder
java.lang.Object
org.apache.myfaces.config.ManagedBeanBuilder
public class ManagedBeanBuilder
- extends java.lang.Object
Create and initialize managed beans
- Author:
- Oliver Rossmueller (latest modification by $Author: matzew $), Anton Koinov
Field Summary |
static java.lang.String |
APPLICATION
|
static java.lang.String |
NONE
|
static java.lang.String |
REQUEST
|
static java.lang.String |
SESSION
|
static java.lang.String |
VIEW
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST
public static final java.lang.String REQUEST
- See Also:
- Constant Field Values
VIEW
public static final java.lang.String VIEW
- See Also:
- Constant Field Values
APPLICATION
public static final java.lang.String APPLICATION
- See Also:
- Constant Field Values
SESSION
public static final java.lang.String SESSION
- See Also:
- Constant Field Values
NONE
public static final java.lang.String NONE
- See Also:
- Constant Field Values
ManagedBeanBuilder
public ManagedBeanBuilder()
buildManagedBean
public java.lang.Object buildManagedBean(FacesContext facesContext,
ManagedBean beanConfiguration)
throws FacesException
- Throws:
FacesException
coerceToType
public static <T> T coerceToType(FacesContext facesContext,
java.lang.Object value,
java.lang.Class<? extends T> desiredClass)
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.