@Override
    public String getDeploymentDatacenter() {
        String value = getValueFromConfig(DeploymentContext.ContextKey.datacenter.getKey());
        if (value != null) {
            return value;
        } else {
            value = getValueFromConfig(DEPLOYMENT_DATACENTER_PROPERTY);
        }
        if (value != null) {
            return value;
        } else {
            return super.getDeploymentDatacenter();
        }
    }
@Override
    public String getDeploymentDatacenter() {
        String value = getValueFromConfig(DeploymentContext.ContextKey.datacenter.getKey());
        if (value != null) {
            return value;
        } else {
            value = getValueFromConfig(DEPLOYMENT_DATACENTER_PROPERTY);
        }
        if (value != null) {
            return value;
        } else {
            return super.getDeploymentDatacenter();
        }
    }
@ Override public String getDeploymentDatacenter ( ) { String value = getValueFromConfig ( DeploymentContext . ContextKey . datacenter . getKey ( ) ) ; if ( value != null ) { return value ; } else { value = getValueFromConfig ( DEPLOYMENT_DATACENTER_PROPERTY ) ; } if ( value != null ) { return value ; } else { return super . getDeploymentDatacenter ( ) ; } }
Get the deployment environment. If property "archaius.deployment.datacenter"
is set in the system wide configuration, it will return it. Otherwise, it will return super.getDeploymentDatacenter().
Get the deployment environment . If property archaius . deployment . datacenter is set in the system wide configuration it will return it . Otherwise it will return super . getDeploymentDatacenter () .