public abstract class BeanBuilder extends Object
Abstract builder for creating and populating JSF managed beans.
Modifier and Type | Class and Description |
---|---|
protected class |
BeanBuilder.Expression
This is a holder class for ValueExpressions.
|
Modifier and Type | Field and Description |
---|---|
protected ManagedBeanInfo |
beanInfo |
Constructor and Description |
---|
BeanBuilder(ManagedBeanInfo beanInfo) |
protected final ManagedBeanInfo beanInfo
public BeanBuilder(ManagedBeanInfo beanInfo)
beanInfo
- the managed bean metadatapublic Object build(InjectionProvider injectionProvider, FacesContext context)
public void destroy(InjectionProvider injectionProvider, Object bean)
public boolean hasMessages()
public String getScope()
public boolean isBaked()
public Class<?> getBeanClass()
public ManagedBeanInfo getManagedBeanInfo()
protected abstract void buildBean(Object bean, FacesContext context)
protected void baked()
protected Object newBeanInstance()
protected void injectResources(Object bean, InjectionProvider injectionProvider)
protected void invokePostConstruct(Object bean, InjectionProvider injectionProvider)
protected Map<BeanBuilder.Expression,BeanBuilder.Expression> getBakedMap(String keyClass, String valueClass, Map<String,String> mapEntries)
protected List<BeanBuilder.Expression> getBakedList(String valueClass, List<String> entries)
protected void initMap(Map<BeanBuilder.Expression,BeanBuilder.Expression> source, Map target, FacesContext context)
protected void initList(List<BeanBuilder.Expression> source, List target, FacesContext context)
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.