/**
  * 实现分发
  * 为了分发前能执行其他操作,所以把要分发的几个变量进行修改
  * 如可以实现分发前重定向,所以你要写几个后插插件
  * 如权限控制插件需写成后分发插件
  *
  * @param Leb_Plugin_Abstract $plugins 通常是$this
  * @return Leb_Plugin_Abstract
  */
 protected function _afterLaunch($plugins = null)
 {
     parent::_afterLaunch($plugins);
     try {
         $appPath = $plugins->getAppName();
         $controllerName = $plugins->getControllerName();
         $actionName = $plugins->getActionName();
         $this->dispatch($appPath, $controllerName, $actionName, array(), $plugins);
     } catch (Leb_Exception $e) {
         throw $e;
     }
     return $plugins;
 }