core/kevoree-core/kevoree-core.js
function KevoreeCore(resolver, kevscript, loggerFactory) {
  if (!resolver || !kevscript || !loggerFactory) {
    throw new Error('KevoreeCore constructor needs: Resolver, KevScript engine and a LoggerFactory');
  }
  this.resolver = resolver;
  this.loggerFactory = loggerFactory;
  this.log = loggerFactory.create('Core');
  this.kevs = kevscript;
  this.stopping = false;
  this.currentModel = null;
  this.deployModel = null;
  this.nodeName = null;
  this.nodeInstance = null;
  this.firstBoot = true;
  this.scriptQueue = [];

  this.emitter = new EventEmitter();
}
function KevoreeCore(resolver, kevscript, loggerFactory) {
  if (!resolver || !kevscript || !loggerFactory) {
    throw new Error('KevoreeCore constructor needs: Resolver, KevScript engine and a LoggerFactory');
  }
  this.resolver = resolver;
  this.loggerFactory = loggerFactory;
  this.log = loggerFactory.create('Core');
  this.kevs = kevscript;
  this.stopping = false;
  this.currentModel = null;
  this.deployModel = null;
  this.nodeName = null;
  this.nodeInstance = null;
  this.firstBoot = true;
  this.scriptQueue = [];

  this.emitter = new EventEmitter();
}
function KevoreeCore ( resolver , kevscript , loggerFactory ) { if ( ! resolver || ! kevscript || ! loggerFactory ) { throw new Error ( 'KevoreeCore constructor needs: Resolver, KevScript engine and a LoggerFactory' ) ; } this . resolver = resolver ; this . loggerFactory = loggerFactory ; this . log = loggerFactory . create ( 'Core' ) ; this . kevs = kevscript ; this . stopping = false ; this . currentModel = null ; this . deployModel = null ; this . nodeName = null ; this . nodeInstance = null ; this . firstBoot = true ; this . scriptQueue = [ ] ; this . emitter = new EventEmitter ( ) ; }
KevoreeCore is the kernel of the Kevoree JavaScript runtime

@param       {Resolver}      resolver      service to download the DeployUnits
@param       {KevScript}     kevscript     service to interpret the KevScript
@param       {LoggerFactory} loggerFactory service to create loggers
@throws      {Error}                       undefined constructor params
@constructor
KevoreeCore is the kernel of the Kevoree JavaScript runtime