Class JsfBeansAutoConfiguration


  • @Configuration(proxyBeanMethods=false)
    @ConditionalOnWebApplication(type=SERVLET)
    @ConditionalOnClass(javax.faces.context.FacesContext.class)
    public class JsfBeansAutoConfiguration
    extends Object
    JSF 2.3-like Bean Definitions. These bean definitions are taken from the mojarra CdiProducers.
    See Also:
    http://arjan-tijms.omnifaces.org/p/jsf-23.html#1316
    • Constructor Detail

      • JsfBeansAutoConfiguration

        public JsfBeansAutoConfiguration()
    • Method Detail

      • application

        @Bean("application")
        @ConditionalOnMissingBean(name="application")
        @Scope(value="prototype",
               proxyMode=TARGET_CLASS)
        public Object application()
      • applicationMap

        @Bean("applicationScope")
        @ConditionalOnMissingBean(name="applicationScope")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        public Map<String,​Object> applicationMap()
      • requestCookieMap

        @Bean("cookie")
        @ConditionalOnMissingBean(name="cookie")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        public Map<String,​Object> requestCookieMap()
      • facesContext

        @Bean("facesContext")
        @Scope(value="prototype",
               proxyMode=TARGET_CLASS)
        @ConditionalOnMissingBean
        public javax.faces.context.FacesContext facesContext()
        Spring bean definition for the JSF FacesContext.
        Returns:
        The current FacesContext.
        See Also:
        FacesContextProducer
      • flash

        @Bean("flash")
        @Scope(value="prototype",
               proxyMode=TARGET_CLASS)
        @ConditionalOnMissingBean
        public javax.faces.context.Flash flash()
      • flowScope

        @Bean("flowScope")
        @ConditionalOnMissingBean(name="flowScope")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        public Map<Object,​Object> flowScope()
      • headerMap

        @Bean("header")
        @ConditionalOnMissingBean(name="header")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        public Map<String,​String> headerMap()
      • headerValuesMap

        @Bean("headerValues")
        @ConditionalOnMissingBean(name="headerValues")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        public Map<String,​String[]> headerValuesMap()
      • initParameterMap

        @Bean("initParam")
        @ConditionalOnMissingBean(name="initParam")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        public Map<String,​String> initParameterMap()
      • requestParameterMap

        @Bean("param")
        @ConditionalOnMissingBean(name="param")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        public Map<String,​String> requestParameterMap()
      • requestParameterValuesMap

        @Bean("paramValues")
        @ConditionalOnMissingBean(name="paramValues")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        public Map<String,​String[]> requestParameterValuesMap()
      • request

        @Bean("request")
        @ConditionalOnMissingBean
        @Scope(value="prototype",
               proxyMode=TARGET_CLASS)
        public Object request()
      • requestMap

        @Bean("requestScope")
        @ConditionalOnMissingBean(name="requestScope")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        public Map<String,​Object> requestMap()
      • resourceHandler

        @Bean("resource")
        @Scope(value="prototype",
               proxyMode=TARGET_CLASS)
        @ConditionalOnMissingBean
        public javax.faces.application.ResourceHandler resourceHandler()
      • session

        @Bean("session")
        @Scope(value="prototype",
               proxyMode=TARGET_CLASS)
        @ConditionalOnMissingBean
        public Object session()
      • sessionMap

        @Bean("sessionScope")
        @ConditionalOnMissingBean(name="sessionScope")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        public Map<String,​Object> sessionMap()
      • viewRoot

        @Bean("view")
        @Scope(value="prototype",
               proxyMode=TARGET_CLASS)
        @ConditionalOnMissingBean
        public javax.faces.component.UIViewRoot viewRoot()
      • viewMap

        @Bean("viewScope")
        @Scope(value="prototype",
               proxyMode=INTERFACES)
        @ConditionalOnMissingBean(name="viewScope")
        public Map<String,​Object> viewMap()
      • externalContext

        @Bean("externalContext")
        @Scope(value="prototype",
               proxyMode=TARGET_CLASS)
        @ConditionalOnMissingBean
        public javax.faces.context.ExternalContext externalContext()