public class FacesConfiguration extends Object
Further you must call the super constructor with a FacesConfiguration class like this:de.volkswagen.jsf.FacesStartupListener
public FacesStartupListener() { super(FacesExtensions.class); }
Modifier and Type | Class and Description |
---|---|
protected static class |
FacesConfiguration.ConfigTypeList
ConfigTypeList
|
protected class |
FacesConfiguration.LifecycleUpdater
LifecycleUpdater
|
protected class |
FacesConfiguration.RenderKitUpdater
RenderKitReplacer
|
Modifier and Type | Field and Description |
---|---|
protected javax.faces.application.Application |
application |
static String |
EMPIRE_COMPONENT_FAMILY |
protected javax.faces.context.ExternalContext |
externalContext |
protected FacesImplementation |
facesImpl |
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
FacesConfiguration(FacesImplementation facesImpl) |
Modifier and Type | Method and Description |
---|---|
protected void |
addComponent(String componentFamily,
Class<? extends javax.faces.component.UIComponent> clazz) |
protected void |
addConverter(Class<?> targetClass,
Class<? extends javax.faces.convert.Converter> converterClass) |
protected void |
addELResolver(Class<? extends javax.el.ELResolver> resolverClass) |
protected void |
addManagedBean(String beanName,
Class<?> beanClass,
String scope) |
protected void |
checkComponentTypeExists(String componentType) |
protected javax.faces.render.RenderKit |
getApplicationRenderKit(javax.faces.context.FacesContext context) |
protected FacesImplementation.BeanStorageProvider |
getBeanStorageProvider() |
static javax.faces.application.ProjectStage |
getProjectStage() |
protected void |
initAll(javax.faces.context.FacesContext context) |
protected void |
initComponents() |
protected void |
initControls() |
protected void |
initConverters() |
protected void |
initElResolvers() |
protected void |
initFacesParams() |
protected void |
initFactories() |
static <T extends FacesConfiguration> |
initialize(Class<T> configClass,
javax.faces.context.FacesContext startupContext,
FacesImplementation facesImpl)
Static Initializer
|
void |
initialize(javax.faces.context.FacesContext startupContext) |
protected void |
initLifecycle(FacesConfiguration.LifecycleUpdater lcu) |
protected void |
initManagedBeans() |
protected void |
initNavigationHandler() |
protected void |
initRenderers(FacesConfiguration.RenderKitUpdater rku) |
protected void |
initResourceHandler() |
protected void |
initSearchExpressionResolvers() |
static boolean |
isInitialized() |
protected void |
listCompoennts() |
protected void |
replaceComponent(Class<? extends javax.faces.component.UIComponent> componentClassWithType,
Class<? extends javax.faces.component.UIComponent> overrideComponent) |
protected void |
replaceComponent(String componentType,
Class<? extends javax.faces.component.UIComponent> overrideComponent) |
protected void |
replaceComponent(String componentFamily,
Class<? extends javax.faces.component.UIComponent> componentClassToReplace,
Class<? extends javax.faces.component.UIComponent> overrideComponent) |
protected void |
setFacesInitParam(Enum<?> paramName,
Object paramValue) |
protected void |
setFacesInitParam(String paramName,
Object paramValue) |
protected void |
setFacesInitParam(String paramName,
Object paramValue,
boolean overwriteExisting) |
protected static final org.slf4j.Logger log
public static final String EMPIRE_COMPONENT_FAMILY
protected final FacesImplementation facesImpl
protected javax.faces.context.ExternalContext externalContext
protected javax.faces.application.Application application
public FacesConfiguration(FacesImplementation facesImpl)
public static boolean isInitialized()
public static javax.faces.application.ProjectStage getProjectStage()
public static <T extends FacesConfiguration> void initialize(Class<T> configClass, javax.faces.context.FacesContext startupContext, FacesImplementation facesImpl)
configClass
- the configuration classstartupContext
- the startupContextpublic final void initialize(javax.faces.context.FacesContext startupContext)
protected void initAll(javax.faces.context.FacesContext context)
protected void initFacesParams()
protected void initFactories()
protected void initNavigationHandler()
protected void initResourceHandler()
protected void initConverters()
protected void initElResolvers()
protected void initLifecycle(FacesConfiguration.LifecycleUpdater lcu)
protected void initSearchExpressionResolvers()
protected void initComponents()
protected void initRenderers(FacesConfiguration.RenderKitUpdater rku)
protected void initManagedBeans()
protected void initControls()
protected FacesImplementation.BeanStorageProvider getBeanStorageProvider()
protected javax.faces.render.RenderKit getApplicationRenderKit(javax.faces.context.FacesContext context)
protected void setFacesInitParam(String paramName, Object paramValue, boolean overwriteExisting)
protected void addConverter(Class<?> targetClass, Class<? extends javax.faces.convert.Converter> converterClass)
protected void addComponent(String componentFamily, Class<? extends javax.faces.component.UIComponent> clazz)
protected void replaceComponent(String componentType, Class<? extends javax.faces.component.UIComponent> overrideComponent)
protected void replaceComponent(Class<? extends javax.faces.component.UIComponent> componentClassWithType, Class<? extends javax.faces.component.UIComponent> overrideComponent)
protected void replaceComponent(String componentFamily, Class<? extends javax.faces.component.UIComponent> componentClassToReplace, Class<? extends javax.faces.component.UIComponent> overrideComponent)
protected void checkComponentTypeExists(String componentType)
protected void addELResolver(Class<? extends javax.el.ELResolver> resolverClass)
protected void listCompoennts()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.