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