/**
  * 初始化配置信息
  * 
  * @param array|string $config        
  * @param WindFactory $factory        
  */
 protected function _initConfig($config, $factory)
 {
     if (!$config) {
         return;
     }
     if (is_string($config)) {
         $config = $factory->getInstance('configParser')->parse($config);
     }
     $this->_config = WindUtility::mergeArray($this->_config, $config);
 }
 /**
  * 获得组件对象
  *
  * @param string $componentName 组件名称呢个
  * @return object
  */
 public function getComponent($componentName, $args = array())
 {
     return $this->windFactory->getInstance($componentName, $args);
 }