/**
  * 创建并返回应用
  *
  * @return WindCommandApplication
  */
 protected function _createApplication()
 {
     $application = new WindCommandApplication($this->getRequest(), $this->getFactory());
     $application->setDelayAttributes(array('windView' => array('ref' => 'windView'), 'handlerAdapter' => array('ref' => 'router')));
     return $application;
 }