Skip to content

Instantly share code, notes, and snippets.

@radutoev
Created March 14, 2018 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radutoev/3ee5e905e454cf7154dec051676b862c to your computer and use it in GitHub Desktop.
Save radutoev/3ee5e905e454cf7154dec051676b862c to your computer and use it in GitHub Desktop.
@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