Package org.springframework.beans.factory.config

Examples of org.springframework.beans.factory.config.CustomScopeConfigurer


    return scheduler;
  }

  @Bean
  public static CustomScopeConfigurer webSocketScopeConfigurer() {
    CustomScopeConfigurer configurer = new CustomScopeConfigurer();
    configurer.addScope("websocket", new SimpSessionScope());
    return configurer;
  }
View Full Code Here


    Map<String, Object> scopes = new HashMap<String, Object>();

    for (NamingScope scope : customScopes)
      scopes.put(scope.getName(), scope);

    CustomScopeConfigurer scopeConfigurer = new CustomScopeConfigurer();
    scopeConfigurer.setScopes(scopes);

    return scopeConfigurer;
  }
View Full Code Here

TOP

Related Classes of org.springframework.beans.factory.config.CustomScopeConfigurer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.