code: function (callback) {
              var validConfig = ariaCoreJsonValidator.normalize({
                  json : ariaCoreAppEnvironment.applicationSettings,
                  beanName : this._cfgPackage
              });
              if (validConfig) {
                  this._applyEnvironment(callback);
                  this.$raiseEvent("environmentChanged");
              } else {
                  this.$callback(callback);
              }
          }
docs: Normalize the part of the environment managed by this class, then calls _applyEnvironment to apply it if the
  environment is valid. Normalization is immediate. Applying the environment can be asynchronous. The callback
  is called either synchronously or asynchronously.
  @param {aria.core.CfgBeans:Callback} callback Will be called when the environment is applied.