Giter VIP home page Giter VIP logo

sweet-plugin's Introduction

简介

Sweet-Plugin是基于Spring Boot开发的插件管理框架,采用sidecar边车运行模式,与主程序一起启动,但具有自己的生命周期,可以动态安装、卸载、启动和停止插件功能。

技术架构

特性

  • 插件采用标准的SpringBoot Application开发和运行,具有独立、完整的生命周期管理;
  • 主程序ApplicationContext插件ApplicationContext完全隔离,通过扩展接口进行通讯;
  • 使用maven打包插件,支持对插件的自主打包编译,支持打包成jar、zip和文件夹多种方式;
  • 插件具有独立的类加载器,支持插件定义各种的依赖jar包;
  • 插件可以使用主程序的类包;
  • 插件可以使用主程序的环境变量和yml配置参数;
  • 插件可以定义@Autowired优先级别,例如:优先主程序后插件、优先插件后主程序、只查找插件等;
  • 插件可以通过@Extension主程序暴露实现;
  • 插件支持自定义@Controller控制器,同时监听插件生命周期自动卸载和启用;
  • 插件支持AOP工厂,动态扩展业务功能,同时监听插件生命周期自动卸载和启用;
  • 插件支持插件工厂,动态扩展一组业务功能,同时监听插件生命周期自动卸载和启用;

sweet-plugin's People

Contributors

zhouzhihu avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

corner4world

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.