Top Description Fields Constructors Methods
com.sun.faces.mgbean

public Class ErrorBean

extends BeanBuilder
Class Inheritance
Imports
javax.faces.context.FacesContext, java.util.List

This doesn't really do anything, aside from being a place holder if the managed bean is configured incorrectly.

Field Summary

Inherited from com.sun.faces.mgbean.BeanBuilder:
beanInfo

Constructor Summary

AccessConstructor and Description
public
ErrorBean(ManagedBeanInfo beanInfo, String message)

public
ErrorBean(ManagedBeanInfo beanInfo, List<String> messages)

Method Summary

Modifier and TypeMethod and Description
pack-priv synchronized void
bake()

Overrides com.sun.faces.mgbean.BeanBuilder.bake.

Performs sanity checking of the ManagedBeanInfo instance provided when the BeanBuilder instance was created.
protected void
Inherited from com.sun.faces.mgbean.BeanBuilder:
bakedbuilddestroygetBakedListgetBakedMapgetBeanClassgetDescriptionsgetManagedBeanInfogetMessagesgetReferencesgetScopehasMessagesinitListinitMapinjectResourcesinvokePostConstructisBakedloadClassnewBeanInstancequeueMessagequeueMessages

Constructor Detail

ErrorBeanback to summary
public ErrorBean(ManagedBeanInfo beanInfo, String message)
ErrorBeanback to summary
public ErrorBean(ManagedBeanInfo beanInfo, List<String> messages)

Method Detail

bakeback to summary
pack-priv synchronized void bake()

Overrides com.sun.faces.mgbean.BeanBuilder.bake.

Doc from com.sun.faces.mgbean.BeanBuilder.bake.

Performs sanity checking of the ManagedBeanInfo instance provided when the BeanBuilder instance was created. If any issues are found, queue messages which will be logged when first baked and exposed as exceptions at runtime per the spec.

Annotations
@Override
buildBeanback to summary
protected void buildBean(Object bean, FacesContext context)

Implements abstract com.sun.faces.mgbean.BeanBuilder.buildBean.

Annotations
@Override