Class ViewScopeAutoConfiguration


  • @Configuration(proxyBeanMethods=false)
    @ConditionalOnWebApplication
    @ConditionalOnClass({javax.faces.context.FacesContext.class,javax.faces.component.UIViewRoot.class})
    public class ViewScopeAutoConfiguration
    extends java.lang.Object
    An AutoConfiguration which registers the ViewScope scope.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.springframework.beans.factory.config.CustomScopeConfigurer viewScopeConfigurer()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ViewScopeAutoConfiguration

        public ViewScopeAutoConfiguration()
    • Method Detail

      • viewScopeConfigurer

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