An alternative approach exists that will let the custom administrative client add multiple notification listeners by invoking the method just once.
有一个可选方法可让自定义管理客户端仅调用一次该方法就能添加多个通知侦听器。
The custom administrative client will receive a j2ee.state.stopping notification for the deployment manager.
自定义管理客户端将接收到部署管理器的 j2ee.state.stopping 通知。
First, it must register for the notification, and then it must supply a notification handler. Enhance the custom administrative client to receive the notifications by doing the following.
首先,自定义管理客户端必须注册了通知,其次,它必须提供一个通知处理程序。
应用推荐