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 Details

    • ViewScopeAutoConfiguration

      public ViewScopeAutoConfiguration()
  • Method Details

    • viewScopeConfigurer

      @Bean @ConditionalOnProperty(value="joinfaces.view-scope.enabled", havingValue="true", matchIfMissing=true) public static CustomScopeConfigurer viewScopeConfigurer()