@Configuration
@EnableConfigurationProperties(value={DreamProperties.class,DreamFmtProperties.class,DreamCrossProperties.class,DreamSwaggerProperties.class})
@EnableAspectJAutoProxy(proxyTargetClass=true,
exposeProxy=true)
public class DreamBootAutoConfiguration
extends java.lang.Object
| 限定符和类型 | 类和说明 |
|---|---|
class |
DreamBootAutoConfiguration.CorsConfiguration |
class |
DreamBootAutoConfiguration.JsonpResponseAdvice
jsonp配置
|
| 构造器和说明 |
|---|
DreamBootAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
DreamTemplate |
dreamTemplate(DreamProperties properties) |
FmtFunc |
fmtFunc(DreamFmtProperties properties) |
HttpCacheAspect |
httpCacheAspect() |
net.dreamlu.tool.util.SpringUtils |
springUtils() |
StartEventListener |
startEventListener() |
@Bean public StartEventListener startEventListener()
@Bean public net.dreamlu.tool.util.SpringUtils springUtils()
@Bean(value="tpl") public DreamTemplate dreamTemplate(DreamProperties properties)
@Bean(value="fmt") public FmtFunc fmtFunc(DreamFmtProperties properties)
@Bean
@ConditionalOnProperty(value="dream.http.cache.enabled",
havingValue="true",
matchIfMissing=true)
public HttpCacheAspect httpCacheAspect()