@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value=SpringShellProperties.class) public class ThemingAutoConfiguration extends Object
| Constructor and Description |
|---|
ThemingAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ThemeResolver |
shellThemeResolver(ThemeRegistry themeRegistry,
SpringShellProperties properties,
ThemeActive themeActive) |
TemplateExecutor |
templateExecutor(ThemeResolver themeResolver) |
ThemeActive |
themeActive() |
ThemeRegistry |
themeRegistry(org.springframework.beans.factory.ObjectProvider<Theme> themes) |
@Bean @ConditionalOnMissingBean public ThemeActive themeActive()
@Bean public ThemeRegistry themeRegistry(org.springframework.beans.factory.ObjectProvider<Theme> themes)
@Bean public ThemeResolver shellThemeResolver(ThemeRegistry themeRegistry, SpringShellProperties properties, ThemeActive themeActive)
@Bean public TemplateExecutor templateExecutor(ThemeResolver themeResolver)
Copyright © 2023. All rights reserved.