Class ViewScopeAutoConfiguration
java.lang.Object
org.joinfaces.autoconfigure.viewscope.ViewScopeAutoConfiguration
@AutoConfiguration
@ConditionalOnWebApplication
@ConditionalOnClass({jakarta.faces.context.FacesContext.class,jakarta.faces.component.UIViewRoot.class,ViewScope.class})
public class ViewScopeAutoConfiguration
extends Object
An
AutoConfiguration
which registers the ViewScope
scope.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.beans.factory.config.CustomScopeConfigurer
-
Constructor Details
-
ViewScopeAutoConfiguration
public ViewScopeAutoConfiguration()
-
-
Method Details
-
viewScopeConfigurer
@Bean @ConditionalOnProperty(value="joinfaces.view-scope.enabled", havingValue="true", matchIfMissing=true) public static org.springframework.beans.factory.config.CustomScopeConfigurer viewScopeConfigurer()
-