Class ForwardingApplication
- java.lang.Object
-
- javax.faces.application.Application
-
- org.jboss.as.jsf.injection.weld.legacy.ForwardingApplication
-
- Direct Known Subclasses:
WeldApplicationLegacy
public abstract class ForwardingApplication extends javax.faces.application.Application- Author:
- pmuir Bring this class back to allow Faces 1.2 to be used with WildFly See https://issues.jboss.org/browse/WFLY-9708
-
-
Constructor Summary
Constructors Constructor Description ForwardingApplication()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddBehavior(String behaviorId, String behaviorClass)voidaddComponent(String componentType, String componentClass)voidaddConverter(Class targetClass, String converterClass)voidaddConverter(String converterId, String converterClass)voidaddDefaultValidatorId(String validatorId)voidaddELContextListener(javax.el.ELContextListener listener)voidaddELResolver(javax.el.ELResolver resolver)voidaddValidator(String validatorId, String validatorClass)javax.faces.component.behavior.BehaviorcreateBehavior(String behaviorId)javax.faces.component.UIComponentcreateComponent(String componentType)javax.faces.component.UIComponentcreateComponent(javax.el.ValueExpression componentExpression, javax.faces.context.FacesContext context, String componentType)javax.faces.component.UIComponentcreateComponent(javax.el.ValueExpression componentExpression, javax.faces.context.FacesContext context, String componentType, String rendererType)javax.faces.component.UIComponentcreateComponent(javax.faces.context.FacesContext context, String componentType, String rendererType)javax.faces.component.UIComponentcreateComponent(javax.faces.context.FacesContext context, javax.faces.application.Resource componentResource)javax.faces.component.UIComponentcreateComponent(javax.faces.el.ValueBinding componentBinding, javax.faces.context.FacesContext context, String componentType)Deprecated.javax.faces.convert.ConvertercreateConverter(Class targetClass)javax.faces.convert.ConvertercreateConverter(String converterId)javax.faces.el.MethodBindingcreateMethodBinding(String ref, Class[] params)Deprecated.javax.faces.validator.ValidatorcreateValidator(String validatorId)javax.faces.el.ValueBindingcreateValueBinding(String ref)Deprecated.protected abstract javax.faces.application.Applicationdelegate()booleanequals(Object obj)<T> TevaluateExpressionGet(javax.faces.context.FacesContext context, String expression, Class<? extends T> expectedType)javax.faces.event.ActionListenergetActionListener()Iterator<String>getBehaviorIds()Iterator<String>getComponentTypes()Iterator<String>getConverterIds()Iterator<Class<?>>getConverterTypes()LocalegetDefaultLocale()StringgetDefaultRenderKitId()Map<String,String>getDefaultValidatorInfo()javax.el.ELContextListener[]getELContextListeners()javax.el.ELResolvergetELResolver()javax.el.ExpressionFactorygetExpressionFactory()javax.faces.flow.FlowHandlergetFlowHandler()StringgetMessageBundle()javax.faces.application.NavigationHandlergetNavigationHandler()javax.faces.application.ProjectStagegetProjectStage()javax.faces.el.PropertyResolvergetPropertyResolver()Deprecated.ResourceBundlegetResourceBundle(javax.faces.context.FacesContext ctx, String name)javax.faces.application.ResourceHandlergetResourceHandler()javax.faces.application.StateManagergetStateManager()Iterator<Locale>getSupportedLocales()Iterator<String>getValidatorIds()javax.faces.el.VariableResolvergetVariableResolver()Deprecated.javax.faces.application.ViewHandlergetViewHandler()inthashCode()voidpublishEvent(javax.faces.context.FacesContext context, Class<? extends javax.faces.event.SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source)voidpublishEvent(javax.faces.context.FacesContext context, Class<? extends javax.faces.event.SystemEvent> systemEventClass, Object source)voidremoveELContextListener(javax.el.ELContextListener listener)voidsetActionListener(javax.faces.event.ActionListener listener)voidsetDefaultLocale(Locale locale)voidsetDefaultRenderKitId(String renderKitId)voidsetFlowHandler(javax.faces.flow.FlowHandler newHandler)voidsetMessageBundle(String bundle)voidsetNavigationHandler(javax.faces.application.NavigationHandler handler)voidsetPropertyResolver(javax.faces.el.PropertyResolver resolver)Deprecated.voidsetResourceHandler(javax.faces.application.ResourceHandler resourceHandler)voidsetStateManager(javax.faces.application.StateManager manager)voidsetSupportedLocales(Collection<Locale> locales)voidsetVariableResolver(javax.faces.el.VariableResolver resolver)Deprecated.voidsetViewHandler(javax.faces.application.ViewHandler handler)voidsubscribeToEvent(Class<? extends javax.faces.event.SystemEvent> systemEventClass, Class<?> sourceClass, javax.faces.event.SystemEventListener listener)voidsubscribeToEvent(Class<? extends javax.faces.event.SystemEvent> systemEventClass, javax.faces.event.SystemEventListener listener)StringtoString()voidunsubscribeFromEvent(Class<? extends javax.faces.event.SystemEvent> systemEventClass, Class<?> sourceClass, javax.faces.event.SystemEventListener listener)voidunsubscribeFromEvent(Class<? extends javax.faces.event.SystemEvent> systemEventClass, javax.faces.event.SystemEventListener listener)
-
-
-
Method Detail
-
delegate
protected abstract javax.faces.application.Application delegate()
-
addBehavior
public void addBehavior(String behaviorId, String behaviorClass)
- Overrides:
addBehaviorin classjavax.faces.application.Application
-
addComponent
public void addComponent(String componentType, String componentClass)
- Specified by:
addComponentin classjavax.faces.application.Application
-
addConverter
public void addConverter(String converterId, String converterClass)
- Specified by:
addConverterin classjavax.faces.application.Application
-
addConverter
public void addConverter(Class targetClass, String converterClass)
- Specified by:
addConverterin classjavax.faces.application.Application
-
addDefaultValidatorId
public void addDefaultValidatorId(String validatorId)
- Overrides:
addDefaultValidatorIdin classjavax.faces.application.Application
-
addELContextListener
public void addELContextListener(javax.el.ELContextListener listener)
- Overrides:
addELContextListenerin classjavax.faces.application.Application
-
addELResolver
public void addELResolver(javax.el.ELResolver resolver)
- Overrides:
addELResolverin classjavax.faces.application.Application
-
addValidator
public void addValidator(String validatorId, String validatorClass)
- Specified by:
addValidatorin classjavax.faces.application.Application
-
createBehavior
public javax.faces.component.behavior.Behavior createBehavior(String behaviorId) throws javax.faces.FacesException
- Overrides:
createBehaviorin classjavax.faces.application.Application- Throws:
javax.faces.FacesException
-
createComponent
public javax.faces.component.UIComponent createComponent(javax.faces.context.FacesContext context, javax.faces.application.Resource componentResource)- Overrides:
createComponentin classjavax.faces.application.Application
-
createComponent
public javax.faces.component.UIComponent createComponent(javax.faces.context.FacesContext context, String componentType, String rendererType)- Overrides:
createComponentin classjavax.faces.application.Application
-
createComponent
public javax.faces.component.UIComponent createComponent(javax.el.ValueExpression componentExpression, javax.faces.context.FacesContext context, String componentType) throws javax.faces.FacesException- Overrides:
createComponentin classjavax.faces.application.Application- Throws:
javax.faces.FacesException
-
createComponent
public javax.faces.component.UIComponent createComponent(javax.el.ValueExpression componentExpression, javax.faces.context.FacesContext context, String componentType, String rendererType)- Overrides:
createComponentin classjavax.faces.application.Application
-
createComponent
public javax.faces.component.UIComponent createComponent(String componentType) throws javax.faces.FacesException
- Specified by:
createComponentin classjavax.faces.application.Application- Throws:
javax.faces.FacesException
-
createComponent
@Deprecated public javax.faces.component.UIComponent createComponent(javax.faces.el.ValueBinding componentBinding, javax.faces.context.FacesContext context, String componentType) throws javax.faces.FacesException
Deprecated.- Specified by:
createComponentin classjavax.faces.application.Application- Throws:
javax.faces.FacesException
-
createConverter
public javax.faces.convert.Converter createConverter(String converterId)
- Specified by:
createConverterin classjavax.faces.application.Application
-
createConverter
public javax.faces.convert.Converter createConverter(Class targetClass)
- Specified by:
createConverterin classjavax.faces.application.Application
-
createMethodBinding
@Deprecated public javax.faces.el.MethodBinding createMethodBinding(String ref, Class[] params) throws javax.faces.el.ReferenceSyntaxException
Deprecated.- Specified by:
createMethodBindingin classjavax.faces.application.Application- Throws:
javax.faces.el.ReferenceSyntaxException
-
createValidator
public javax.faces.validator.Validator createValidator(String validatorId) throws javax.faces.FacesException
- Specified by:
createValidatorin classjavax.faces.application.Application- Throws:
javax.faces.FacesException
-
createValueBinding
@Deprecated public javax.faces.el.ValueBinding createValueBinding(String ref) throws javax.faces.el.ReferenceSyntaxException
Deprecated.- Specified by:
createValueBindingin classjavax.faces.application.Application- Throws:
javax.faces.el.ReferenceSyntaxException
-
evaluateExpressionGet
public <T> T evaluateExpressionGet(javax.faces.context.FacesContext context, String expression, Class<? extends T> expectedType) throws javax.el.ELException- Overrides:
evaluateExpressionGetin classjavax.faces.application.Application- Throws:
javax.el.ELException
-
getActionListener
public javax.faces.event.ActionListener getActionListener()
- Specified by:
getActionListenerin classjavax.faces.application.Application
-
getBehaviorIds
public Iterator<String> getBehaviorIds()
- Overrides:
getBehaviorIdsin classjavax.faces.application.Application
-
getComponentTypes
public Iterator<String> getComponentTypes()
- Specified by:
getComponentTypesin classjavax.faces.application.Application
-
getConverterIds
public Iterator<String> getConverterIds()
- Specified by:
getConverterIdsin classjavax.faces.application.Application
-
getConverterTypes
public Iterator<Class<?>> getConverterTypes()
- Specified by:
getConverterTypesin classjavax.faces.application.Application
-
getDefaultLocale
public Locale getDefaultLocale()
- Specified by:
getDefaultLocalein classjavax.faces.application.Application
-
getDefaultRenderKitId
public String getDefaultRenderKitId()
- Specified by:
getDefaultRenderKitIdin classjavax.faces.application.Application
-
getDefaultValidatorInfo
public Map<String,String> getDefaultValidatorInfo()
- Overrides:
getDefaultValidatorInfoin classjavax.faces.application.Application
-
getELContextListeners
public javax.el.ELContextListener[] getELContextListeners()
- Overrides:
getELContextListenersin classjavax.faces.application.Application
-
getELResolver
public javax.el.ELResolver getELResolver()
- Overrides:
getELResolverin classjavax.faces.application.Application
-
getExpressionFactory
public javax.el.ExpressionFactory getExpressionFactory()
- Overrides:
getExpressionFactoryin classjavax.faces.application.Application
-
getFlowHandler
public javax.faces.flow.FlowHandler getFlowHandler()
- Overrides:
getFlowHandlerin classjavax.faces.application.Application
-
getMessageBundle
public String getMessageBundle()
- Specified by:
getMessageBundlein classjavax.faces.application.Application
-
getNavigationHandler
public javax.faces.application.NavigationHandler getNavigationHandler()
- Specified by:
getNavigationHandlerin classjavax.faces.application.Application
-
getPropertyResolver
@Deprecated public javax.faces.el.PropertyResolver getPropertyResolver()
Deprecated.- Specified by:
getPropertyResolverin classjavax.faces.application.Application
-
getProjectStage
public javax.faces.application.ProjectStage getProjectStage()
- Overrides:
getProjectStagein classjavax.faces.application.Application
-
getResourceBundle
public ResourceBundle getResourceBundle(javax.faces.context.FacesContext ctx, String name)
- Overrides:
getResourceBundlein classjavax.faces.application.Application
-
getResourceHandler
public javax.faces.application.ResourceHandler getResourceHandler()
- Overrides:
getResourceHandlerin classjavax.faces.application.Application
-
getStateManager
public javax.faces.application.StateManager getStateManager()
- Specified by:
getStateManagerin classjavax.faces.application.Application
-
getSupportedLocales
public Iterator<Locale> getSupportedLocales()
- Specified by:
getSupportedLocalesin classjavax.faces.application.Application
-
getValidatorIds
public Iterator<String> getValidatorIds()
- Specified by:
getValidatorIdsin classjavax.faces.application.Application
-
getVariableResolver
@Deprecated public javax.faces.el.VariableResolver getVariableResolver()
Deprecated.- Specified by:
getVariableResolverin classjavax.faces.application.Application
-
getViewHandler
public javax.faces.application.ViewHandler getViewHandler()
- Specified by:
getViewHandlerin classjavax.faces.application.Application
-
publishEvent
public void publishEvent(javax.faces.context.FacesContext context, Class<? extends javax.faces.event.SystemEvent> systemEventClass, Class<?> sourceBaseType, Object source)- Overrides:
publishEventin classjavax.faces.application.Application
-
publishEvent
public void publishEvent(javax.faces.context.FacesContext context, Class<? extends javax.faces.event.SystemEvent> systemEventClass, Object source)- Overrides:
publishEventin classjavax.faces.application.Application
-
removeELContextListener
public void removeELContextListener(javax.el.ELContextListener listener)
- Overrides:
removeELContextListenerin classjavax.faces.application.Application
-
setActionListener
public void setActionListener(javax.faces.event.ActionListener listener)
- Specified by:
setActionListenerin classjavax.faces.application.Application
-
setDefaultLocale
public void setDefaultLocale(Locale locale)
- Specified by:
setDefaultLocalein classjavax.faces.application.Application
-
setDefaultRenderKitId
public void setDefaultRenderKitId(String renderKitId)
- Specified by:
setDefaultRenderKitIdin classjavax.faces.application.Application
-
setFlowHandler
public void setFlowHandler(javax.faces.flow.FlowHandler newHandler)
- Overrides:
setFlowHandlerin classjavax.faces.application.Application
-
setMessageBundle
public void setMessageBundle(String bundle)
- Specified by:
setMessageBundlein classjavax.faces.application.Application
-
setNavigationHandler
public void setNavigationHandler(javax.faces.application.NavigationHandler handler)
- Specified by:
setNavigationHandlerin classjavax.faces.application.Application
-
setPropertyResolver
@Deprecated public void setPropertyResolver(javax.faces.el.PropertyResolver resolver)
Deprecated.- Specified by:
setPropertyResolverin classjavax.faces.application.Application
-
setResourceHandler
public void setResourceHandler(javax.faces.application.ResourceHandler resourceHandler)
- Overrides:
setResourceHandlerin classjavax.faces.application.Application
-
setStateManager
public void setStateManager(javax.faces.application.StateManager manager)
- Specified by:
setStateManagerin classjavax.faces.application.Application
-
setSupportedLocales
public void setSupportedLocales(Collection<Locale> locales)
- Specified by:
setSupportedLocalesin classjavax.faces.application.Application
-
setVariableResolver
@Deprecated public void setVariableResolver(javax.faces.el.VariableResolver resolver)
Deprecated.- Specified by:
setVariableResolverin classjavax.faces.application.Application
-
setViewHandler
public void setViewHandler(javax.faces.application.ViewHandler handler)
- Specified by:
setViewHandlerin classjavax.faces.application.Application
-
subscribeToEvent
public void subscribeToEvent(Class<? extends javax.faces.event.SystemEvent> systemEventClass, Class<?> sourceClass, javax.faces.event.SystemEventListener listener)
- Overrides:
subscribeToEventin classjavax.faces.application.Application
-
subscribeToEvent
public void subscribeToEvent(Class<? extends javax.faces.event.SystemEvent> systemEventClass, javax.faces.event.SystemEventListener listener)
- Overrides:
subscribeToEventin classjavax.faces.application.Application
-
unsubscribeFromEvent
public void unsubscribeFromEvent(Class<? extends javax.faces.event.SystemEvent> systemEventClass, Class<?> sourceClass, javax.faces.event.SystemEventListener listener)
- Overrides:
unsubscribeFromEventin classjavax.faces.application.Application
-
unsubscribeFromEvent
public void unsubscribeFromEvent(Class<? extends javax.faces.event.SystemEvent> systemEventClass, javax.faces.event.SystemEventListener listener)
- Overrides:
unsubscribeFromEventin classjavax.faces.application.Application
-
-