@Configuration(proxyBeanMethods=false) public class BaseConfig extends Object
用于注册 应用上下文 ApplicationContextHelper、事件发布器 EventHelper、基础异常处理器 BaseExceptionHandler
| 构造器和说明 |
|---|
BaseConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
ApplicationContextHelper |
applicationContextHelper() |
BaseExceptionHandler |
baseExceptionHandler() |
EventHelper |
eventHelper() |
@Bean @ConditionalOnMissingBean(value=ApplicationContextHelper.class) public ApplicationContextHelper applicationContextHelper()
@Bean @ConditionalOnBean(value=ApplicationContextHelper.class) @ConditionalOnMissingBean(value=EventHelper.class) public EventHelper eventHelper()
@Bean @ConditionalOnMissingBean(value=BaseExceptionHandler.class) public BaseExceptionHandler baseExceptionHandler()
Copyright © 2023 Irvingsoft. All rights reserved.