serverMgr.registerListener(lister);
} else {
LOG.error("Cannot find the ServerLifeCycleManager, we cannot publish the service through fabric.");
}
// register the client listener
ClientLifeCycleManager clientMgr = bus.getExtension(ClientLifeCycleManager.class);
FabricClientListener clientListener = new FabricClientListener(this);
if (clientMgr != null) {
clientMgr.registerListener(clientListener);
} else {
LOG.error("Cannot find the ClientLifeCycleManager, the client cannot access the service through fabric");
}
} catch (Exception ex) {