@Configuration public class FrameworkSpringUtilsConfig extends Object
Framework spring utils config
| 构造器和说明 |
|---|
FrameworkSpringUtilsConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
FreemarkerUtil |
freemarkerUtil(org.springframework.boot.autoconfigure.freemarker.FreeMarkerProperties properties)
Config freemarker util
|
SpringBeanUtil |
springUtil()
Config spring util
|
@Bean @ConditionalOnBean(value=org.springframework.boot.autoconfigure.freemarker.FreeMarkerProperties.class) public FreemarkerUtil freemarkerUtil(org.springframework.boot.autoconfigure.freemarker.FreeMarkerProperties properties) throws Exception
properties - the freemarker propertiesException@Bean public SpringBeanUtil springUtil()
Copyright © 2020. All rights reserved.