当前位置: 软件>java软件
Spring Shell
本文导语: Spring Shell 提供交互式的 Shell 可让你使用简单的基于 Spring 的编程模型来开发命令。 示例代码: @Component public class HelloWorldCommands implements CommandMarker { // use any Spring annotations for Dependency Injection or other Spring // interfaces as require...
Spring Shell 提供交互式的 Shell 可让你使用简单的基于 Spring 的编程模型来开发命令。
![Spring Shell[图片]](/img/tech-article-img/img_1418226084_984494.png)
示例代码:
@Component
public class HelloWorldCommands implements CommandMarker {
// use any Spring annotations for Dependency Injection or other Spring
// interfaces as required.
// methods with @Cli annotations go here
}
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。