它在重新启动时将不会自动激活,以便仅当HACMP启动它时,才被激活。
It should not be automatically activated on restart so that it is only activated when HACMP starts it.
您可以使用 清单 2 中给出的代码来启动(激活)和停止 GBean。
You can start (activate) and stop the GBean with the code illustrated in Listing 2.
在DS 1.1里,组件元素也有activate和deactivate属性,在组件激活(启动)和失效(停止)过程中相应方法被调用。
In DS 1.1, the component element can also have an activate and deactivate attribute, corresponding to the method which is invoked upon component activation (starting) and deactivation (stopping).
应用推荐