| 类 | 说明 |
|---|---|
| BaseController |
Spring web base controller
|
| JacksonDateConfigurer.JacksonDateConfiguration | |
| JdbcTemplateWrapper |
Wrapped spring jdbc template.
|
| MybatisDataSourceConfigurer.MybatisDataSourceRegistrar | |
| RedisKeyRenewal |
Renew redis key ttl based spring redis template.
|
| RedisTemplateUtils |
Redis template utils
redis.call:抛出异常给调用方
redis.pcall:捕获异常并以Lua表的形式返回给调用方
|
| ResourceScanner |
资源扫描文件,用法:
new ResourceScanner("/*.template").scan4text()
new ResourceScanner("/**∕tika*.xml").scan4text()
// findAllClassPathResources:“/*” 等同 “*”,“/”开头会被截取path.substring(1)
new ResourceScanner("*.xml").scan4bytes()
new ResourceScanner("/*.xml").scan4bytes()
new ResourceScanner("**∕*.xml").scan4bytes()
new ResourceScanner("/**∕*.xml").scan4bytes()
new ResourceScanner("log4j2.xml.template").scan4bytes()
new ResourceScanner("/log4j2.xml.template").scan4bytes()
new ResourceScanner("/cn/ponfee/commons/jce/*.class").scan4bytes()
new ResourceScanner("/cn/ponfee/commons/jce/**∕*.class").scan4bytes()
new ResourceScanner("/cn/ponfee/commons/base/**∕*.class").scan4class()
new ResourceScanner("/cn/ponfee/commons/**∕*.class").scan4class(null, new Class[] {Service.class})
new ResourceScanner("/cn/ponfee/commons/**∕*.class").scan4class(null, new Class[] {Component.class})
new ResourceScanner("/cn/ponfee/commons/**∕*.class").scan4class(new Class[]{Tuple.class}, null)
|
| RestTemplateUtils |
Spring rest template utility.
|
| RestTemplateUtils.HttpContextHolder | |
| RpcControllerConfigurer |
RpcController configurer
|
| RpcControllerUtils |
RpcController utility
|
| SpringContextHolder |
Spring container context holder
|
| SpringUtils |
Spring utils
|
| TransactionUtils |
Spring transaction utility.
|
| YamlProperties |
Yaml properties
|
| YamlPropertySourceFactory |
Spring yaml properties source factory,
for help use annotation
PropertySource
{@code |
| 注释类型 | 说明 |
|---|---|
| JacksonDateConfigurer |
Enable object mapper configurer
|
| MybatisDataSourceConfigurer |
Enable mybatis dataSource
Bean顺序:
1)BeanDefinitionRegistryPostProcessor#postProcessBeanDefinitionRegistry:所有的常规bean定义都将被加载,但还没有任何bean被实例化,这允许在下一个后处理阶段开始之前添加更多的bean定义。
|
| RpcController |
RPC based spring mvc RestController
|
Copyright © 2024. All rights reserved.