.httpsPort(getHttpPort(true, serverName, config))
.txLogLocation(txlogLocationProvider)
.done();
final WSATRuntimeConfig.RecoveryEventListener metroListener = WSATRuntimeConfig.getInstance().new WSATRecoveryEventListener();
recoveryRegistry.addEventListener(new RecoveryEventListener() {
@Override
public void beforeRecovery(boolean delegated, String instance) {
metroListener.beforeRecovery(delegated, instance);
}