对于一个没有使用外部模块的小脚本来说,这个过程可能需要几毫秒的时间。
On a small script with no external modules, the process takes milliseconds.
对于这个示例,有更多的代码需要说明,但与第一个线程示例相比,它并没有复杂多少,这正是因为使用了队列模块。
This example has a bit more code to explain, but it isn't that much more complicated than the first threading example, thanks to the use of the queuing module.
对于announcement模块,这个钩子的实现可能像清单2这样。
A possible implementation of this hook for the announcement module is shown in Listing 2.
对于eba内的一个WAR模块,这个转换可以自动执行,不过最好的做法是在将WAR模块添加到EBA之前将其转化为一个osgi包。
This conversion can be performed automatically for a WAR module inside an EBA, although a best practice would be to convert the WAR module into an OSGi bundle before adding it to the EBA.
OSGi与其他的模块化系统是解决这个问题的关键所在,我们向OSGi迈进的第一步对于我们和我们的用户来说都是至关重要的。
OSGi and other modular systems are the key to this, and our first step into OSGi was a big deal for us and our users.
OSGi与其他的模块化系统是解决这个问题的关键所在,我们向OSGi迈进的第一步对于我们和我们的用户来说都是至关重要的。
OSGi and other modular systems are the key to this, and our first step into OSGi was a big deal for us and our users.
应用推荐