Class JsfBeansAutoConfiguration
java.lang.Object
org.joinfaces.autoconfigure.javaxfaces.JsfBeansAutoConfiguration
@Configuration
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass(jakarta.faces.context.FacesContext.class)
public class JsfBeansAutoConfiguration
extends Object
JSF 2.3-like Bean Definitions.
These bean definitions are taken from the mojarra com.sun.faces.cdi.CdiProducer<T extends Object>
s.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.faces.context.ExternalContext
jakarta.faces.context.FacesContext
Spring bean definition for the JSFFacesContext
.jakarta.faces.context.Flash
flash()
request()
jakarta.faces.application.ResourceHandler
session()
viewMap()
jakarta.faces.component.UIViewRoot
viewRoot()
-
Constructor Details
-
JsfBeansAutoConfiguration
public JsfBeansAutoConfiguration()
-
-
Method Details
-
application
@Bean("application") @ConditionalOnMissingBean(name="application") @Scope("prototype") public Object application() -
applicationMap
-
requestCookieMap
-
facesContext
@Bean("facesContext") @Scope(value="prototype", proxyMode=TARGET_CLASS) @ConditionalOnMissingBean public jakarta.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 jakarta.faces.context.Flash flash() -
flowScope
-
headerMap
-
headerValuesMap
-
initParameterMap
-
requestParameterMap
-
requestParameterValuesMap
-
request
@Bean("request") @ConditionalOnMissingBean(name="request") @Scope("prototype") public Object request() -
requestMap
-
resourceHandler
@Bean("resource") @Scope(value="prototype", proxyMode=TARGET_CLASS) @ConditionalOnMissingBean public jakarta.faces.application.ResourceHandler resourceHandler() -
session
@Bean("session") @Scope("prototype") @ConditionalOnMissingBean(name="session") public Object session() -
sessionMap
-
viewRoot
@Bean("view") @Scope(value="prototype", proxyMode=TARGET_CLASS) @ConditionalOnMissingBean public jakarta.faces.component.UIViewRoot viewRoot() -
viewMap
-
externalContext
@Bean("externalContext") @Scope(value="prototype", proxyMode=TARGET_CLASS) @ConditionalOnMissingBean public jakarta.faces.context.ExternalContext externalContext()
-