1 Star 0 Fork 0

zclget / redis-spring-boot-starter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

redis-spring-boot-starter

介绍

自定义starter

软件架构

软件架构说明

安装教程

  1. 创建springboot项目,去掉主启动类,去掉test目录,去掉spring-boot-maven-plugin插件(此插件的作用是用于springboot依靠java -jar启动时可以找到主启动类)
  2. 添加自动装配pom依赖
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-configuration-processor</artifactId>
    <optional>true</optional>
</dependency>
  1. 在resources下添加META-INF文件夹,添加spring.factories文件
  2. 添加需要自动装配的bean配置类RedissonAutoConfiguration
  3. 在spring.factories中添加配置org.springframework.boot.autoconfigure.EnableAutoConfiguration=
    org.zcl.config.RedissonAutoConfiguration
  4. mvn clean install

使用说明

在新建的项目中引入依赖

<dependency>
   <groupId>org.zcl</groupId>
   <artifactId>redis-spring-boot-starter</artifactId>
   <version>0.0.1-SNAPSHOT</version>
</dependency>

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. Gitee 官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
  4. GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
  5. Gitee 官方提供的使用手册 https://gitee.com/help
  6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/

空文件

简介

自定义redisson配置starter 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/zclget/redis-spring-boot-starter.git
git@gitee.com:zclget/redis-spring-boot-starter.git
zclget
redis-spring-boot-starter
redis-spring-boot-starter
master

搜索帮助