Class JsfBeansAutoConfiguration
- java.lang.Object
-
- org.joinfaces.autoconfigure.javaxfaces.JsfBeansAutoConfiguration
-
@Configuration @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(javax.faces.context.FacesContext.class) public class JsfBeansAutoConfiguration extends java.lang.Object
JSF 2.3-like Bean Definitions. These bean definitions are taken from the mojarraCdiProducer
s.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsfBeansAutoConfiguration.Jsf2_3AutoConfiguration
-
Constructor Summary
Constructors Constructor Description JsfBeansAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
application()
java.util.Map<java.lang.String,java.lang.Object>
applicationMap()
javax.faces.context.ExternalContext
externalContext()
javax.faces.context.FacesContext
facesContext()
Spring bean definition for the JSFFacesContext
.javax.faces.context.Flash
flash()
java.util.Map<java.lang.Object,java.lang.Object>
flowScope()
java.util.Map<java.lang.String,java.lang.String>
headerMap()
java.util.Map<java.lang.String,java.lang.String[]>
headerValuesMap()
java.util.Map<java.lang.String,java.lang.String>
initParameterMap()
java.lang.Object
request()
java.util.Map<java.lang.String,java.lang.Object>
requestCookieMap()
java.util.Map<java.lang.String,java.lang.Object>
requestMap()
java.util.Map<java.lang.String,java.lang.String>
requestParameterMap()
java.util.Map<java.lang.String,java.lang.String[]>
requestParameterValuesMap()
javax.faces.application.ResourceHandler
resourceHandler()
java.lang.Object
session()
java.util.Map<java.lang.String,java.lang.Object>
sessionMap()
java.util.Map<java.lang.String,java.lang.Object>
viewMap()
javax.faces.component.UIViewRoot
viewRoot()
-
-
-
Method Detail
-
application
@Bean("application") @ConditionalOnMissingBean(name="application") @Scope(value="prototype", proxyMode=TARGET_CLASS) public java.lang.Object application()
-
applicationMap
@Bean("applicationScope") @ConditionalOnMissingBean(name="applicationScope") @Scope(value="prototype", proxyMode=INTERFACES) public java.util.Map<java.lang.String,java.lang.Object> applicationMap()
-
requestCookieMap
@Bean("cookie") @ConditionalOnMissingBean(name="cookie") @Scope(value="prototype", proxyMode=INTERFACES) public java.util.Map<java.lang.String,java.lang.Object> requestCookieMap()
-
facesContext
@Bean("facesContext") @Scope(value="prototype", proxyMode=TARGET_CLASS) @ConditionalOnMissingBean public javax.faces.context.FacesContext facesContext()
Spring bean definition for the JSFFacesContext
.- 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 java.util.Map<java.lang.Object,java.lang.Object> flowScope()
-
headerMap
@Bean("header") @ConditionalOnMissingBean(name="header") @Scope(value="prototype", proxyMode=INTERFACES) public java.util.Map<java.lang.String,java.lang.String> headerMap()
-
headerValuesMap
@Bean("headerValues") @ConditionalOnMissingBean(name="headerValues") @Scope(value="prototype", proxyMode=INTERFACES) public java.util.Map<java.lang.String,java.lang.String[]> headerValuesMap()
-
initParameterMap
@Bean("initParam") @ConditionalOnMissingBean(name="initParam") @Scope(value="prototype", proxyMode=INTERFACES) public java.util.Map<java.lang.String,java.lang.String> initParameterMap()
-
requestParameterMap
@Bean("param") @ConditionalOnMissingBean(name="param") @Scope(value="prototype", proxyMode=INTERFACES) public java.util.Map<java.lang.String,java.lang.String> requestParameterMap()
-
requestParameterValuesMap
@Bean("paramValues") @ConditionalOnMissingBean(name="paramValues") @Scope(value="prototype", proxyMode=INTERFACES) public java.util.Map<java.lang.String,java.lang.String[]> requestParameterValuesMap()
-
request
@Bean("request") @ConditionalOnMissingBean @Scope(value="prototype", proxyMode=TARGET_CLASS) public java.lang.Object request()
-
requestMap
@Bean("requestScope") @ConditionalOnMissingBean(name="requestScope") @Scope(value="prototype", proxyMode=INTERFACES) public java.util.Map<java.lang.String,java.lang.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 java.lang.Object session()
-
sessionMap
@Bean("sessionScope") @ConditionalOnMissingBean(name="sessionScope") @Scope(value="prototype", proxyMode=INTERFACES) public java.util.Map<java.lang.String,java.lang.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 java.util.Map<java.lang.String,java.lang.Object> viewMap()
-
externalContext
@Bean("externalContext") @Scope(value="prototype", proxyMode=TARGET_CLASS) @ConditionalOnMissingBean public javax.faces.context.ExternalContext externalContext()
-
-