类 WeChatRepositoryMySqlAutoConfiguration
java.lang.Object
net.jlxxw.wechat.repository.mysql.WeChatRepositoryMySqlAutoConfiguration
- 所有已实现的接口:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.boot.ApplicationRunner
@Configuration
@ComponentScan("net.jlxxw.wechat.repository.mysql")
public class WeChatRepositoryMySqlAutoConfiguration
extends Object
implements org.springframework.boot.ApplicationRunner, org.springframework.beans.factory.BeanFactoryAware
mysql 模块自动装配
使用 jdbc 操作数据
- 作者:
- lcy
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidrun(org.springframework.boot.ApplicationArguments args) Callback used to run the bean.voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
-
构造器详细资料
-
WeChatRepositoryMySqlAutoConfiguration
public WeChatRepositoryMySqlAutoConfiguration()
-
-
方法详细资料
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - 指定者:
setBeanFactory在接口中org.springframework.beans.factory.BeanFactoryAware- 抛出:
org.springframework.beans.BeansException
-
run
Callback used to run the bean.- 指定者:
run在接口中org.springframework.boot.ApplicationRunner- 参数:
args- incoming application arguments- 抛出:
Exception- on error
-
weChatTokenRepository
-
weChatJsApiTicketRepository
-
weChatAiBotTokenRepository
@Bean @ConditionalOnMissingBean(net.jlxxw.wechat.repository.aibot.WeChatAiBotTokenRepository.class) public WeChatAiBotTokenRepository weChatAiBotTokenRepository()
-