Spring Shell介绍

  最近开发中在下遇到了spring-shell开发工具的项目,现在整理了相关文章,以供大家学习
  本博客相关的文章均是在Spring Shell 1.2.0的基础上建立
 

Spring Shell介绍

  Spring Shell提供了一个交互式Shell,它允许您使用一个简单的基于Spring的编程模型来提供命令。
 

使用条件

  Spring Shell需要JDK6.0及以上和Spring框架3.0(推荐3.1)及以上。
 

参考文档

  这部分的参考文档解释了Spring Shell的核心组件,是它的插件模型(plugin model)、内置命令(built-in commands)和转换器( converters)。
 

应用程序

  这部分提供了一些关于如何为Spring Shell创建命令。
 
  可以从maven 库中下载所需Jar 包
 
<!-- https://mvnrepository.com/artifact/org.springframework.shell/spring-shell -->
<dependency>
    <groupId>org.springframework.shell</groupId>
    <artifactId>spring-shell</artifactId>
    <version>1.2.0.RELEASE</version>
</dependency>
 
原文地址:https://www.cnblogs.com/acm-bingzi/p/springshell.html