@Configuration @EnableAspectJAutoProxy(proxyTargetClass=true) @EnableConfigurationProperties @ComponentScan(basePackages="org.dromara.myth") public class MythAutoConfiguration extends Object
| 构造器和说明 |
|---|
MythAutoConfiguration(MythConfigProperties mythConfigProperties)
Instantiates a new Myth auto configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
org.dromara.myth.common.config.MythConfig |
mythConfig()
init bean of MythConfig.
|
MythTransactionBootstrap |
tccTransactionBootstrap(MythInitService mythInitService)
init MythTransactionBootstrap.
|
@Autowired(required=false) public MythAutoConfiguration(MythConfigProperties mythConfigProperties)
mythConfigProperties - the myth config properties@Bean public MythTransactionBootstrap tccTransactionBootstrap(MythInitService mythInitService)
mythInitService - MythInitService@Bean public org.dromara.myth.common.config.MythConfig mythConfig()
Copyright © 2018 dromara. All rights reserved.