/** * * @param blaze\io\File $dir * @param boolean $running */ public function __construct(\blazeServer\source\netlet\NetletApplication $netletApplication, \blaze\web\lifecycle\Lifecycle $lifeCycle) { $this->netletApplication = $netletApplication; $this->lifeCycle = $lifeCycle; $this->applicationPath = new File($netletApplication->getApplicationPath(), 'view'); $this->navigationRules = new \blaze\collections\lists\ArrayList(); $this->converter = new \blaze\collections\map\HashMap(); $this->validator = new \blaze\collections\map\HashMap(); $this->renderKitFactories = new \blaze\collections\map\HashMap(); $this->decorators = new \blaze\collections\map\HashMap(); $this->elContext = new \blaze\web\el\ELContext(); $requestScope = new \blaze\collections\map\HashMap(); $viewScope = new \blaze\collections\map\HashMap(); $sessionScope = new \blaze\collections\map\HashMap(); $applicationScope = new \blaze\collections\map\HashMap(); $this->setELScopes($requestScope, $viewScope, $sessionScope, $applicationScope); $this->init(); }