Vert.x module概念
2016-06-15 22:38
399 查看
Vert.x module概念
官网: http://vertx.io/vertx2/mods_manual.html#what-is-a-vertx-moduleModule Identifier
一个Module有一个唯一标识:三部分组成的字符串Owner~Name~Version
mod.json
Module descriptor file,每个Module必须有这个文件,在Module的根目录下描述项:
main : runnable module 必备,指定module入口verticle类名
lang-impl : 多语言,复写langs.properties中配置
worker : 指定为Worker module,允许阻塞操作
includes : 嵌套其他modules
auto-redeploy : 若检测到资源变化则自动重部署,默认为false
system : 在安装modules至sys-mods目录,默认为false
description
licenses
author
keywords
developers
Module lib directory
如果module是直接使用jar,需要放在module根目录的lib/下Module目录结构示例:
/mod.json /com/mycompany/myothermod/App.class /com/mycompany/myothermod/SomeOtherClass.class /lib/somelib.jar /lib/someotherlib.jar
Module classpath
module的classpath:根目录与lib/下相关文章推荐
- Service
- struts2的action是线程安全的,struts1的action不是线程安全的真正原因
- 前端基础-黑马视频开始学习-1
- linux中环境搭建部署
- poj3083Children of the Candy Corn
- ubuntu安装搜狗输入法无法加到当前输入法原因
- maven在导入pom.xml后出现错误
- 二分套二分 hrbeu.acm.1211Kth Largest
- swift两个视图控制器之间的传值
- 张氏标定法简述
- css3第二课时!css3新增属性选择器!
- Saltstack安装filebeat
- vnc和putty
- C# WinForm键盘按键响应 实现思路
- 常见数据结构
- 利用MAVEN打包可运行jar包,包括依赖的第三方包
- scala学习手记12 - 字段、方法和构造函数
- Vert.x一些概念
- CXF3.1.6+Spring4.1.9整合
- nginx+tomcat +memcached 解决会话同步(session)问题