public class BasicDaoFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<BasicDAO>, org.springframework.boot.ApplicationRunner, org.springframework.context.ResourceLoaderAware
| Constructor and Description |
|---|
BasicDaoFactoryBean(MybatisxConfig config) |
| Modifier and Type | Method and Description |
|---|---|
MybatisxConfig |
getConfig() |
BasicDAO |
getObject() |
Class<?> |
getObjectType() |
void |
init() |
DatabaseRouter |
newDataBaseRouter(MybatisxConfig config) |
void |
run(org.springframework.boot.ApplicationArguments args) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
public BasicDaoFactoryBean(@Autowired(required=false)
MybatisxConfig config)
public DatabaseRouter newDataBaseRouter(MybatisxConfig config) throws Exception
Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<BasicDAO>public MybatisxConfig getConfig()
public void run(org.springframework.boot.ApplicationArguments args)
throws Exception
run in interface org.springframework.boot.ApplicationRunnerExceptionpublic void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader in interface org.springframework.context.ResourceLoaderAwareCopyright © 2020. All rights reserved.