code: protected final void registClass(String className,String ...depends) {
  		if(!validate(className, depends))
  		{
  			return ;
  		}
  		ClassFile cf = getClassFile(className);
  		scriptFilePaths.put(cf.getFilePath(), cf);
  		_log.info("registClass:"+cf.getFilePath());
  		ClassFile subClass=cf;//子类
  		for(int i=0;i<depends.length;i++)
  		{
  			String parentClassName=depends[i];
  			ClassFile parentCf=getClassFile(parentClassName);
  			subClass.setParent(parentCf);//设置子类
  			if(!scriptFilePaths.containsKey(parentCf.getFilePath()))
  			{
  				scriptFilePaths.put(parentCf.getFilePath(),parentCf);
  				_log.info("registDependClass:"+parentCf.getClassName());
  			}
  			subClass=parentCf;//更新子类为当前父类
  		}
  	}
docs: 根据类名注册类
  @param script 脚本类
  @param depends 依赖类