Created
March 14, 2018 20:13
-
-
Save radutoev/3ee5e905e454cf7154dec051676b862c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean | |
public CustomScopeConfigurer customScopeConfigurer() { | |
CustomScopeConfigurer configurer = new CustomScopeConfigurer(); | |
Map<String, Object> scopes = new HashMap<>(); | |
scopes.put(THREAD_INHERITED, new InheritedThreadScope()); | |
configurer.setScopes(scopes); | |
return configurer; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment