private boolean validate(String className,String ...depends)
	{
		ClassFile cf = getClassFile(className);
		if(cf==null)
		{
			_log.error("can't find classFile:"+className);
			return false;
		}
		boolean result=true;
		for(int i=0;i<depends.length;i++)
		{
			String parentClassName=depends[i];
			ClassFile parentCf=getClassFile(parentClassName);
			if(parentCf==null)
			{//如果依赖的类不能能拿到
				_log.error("can't find dependClassFile:"+parentClassName);
				result= false;
				break;
			}
		}
		return result;
	}
private boolean validate ( String className , String ... depends ) { ClassFile cf = getClassFile ( className ) ; if ( cf == null ) { _log . error ( "can't find classFile:" + className ) ; return false ; } boolean result = true ; for ( int i = 0 ; i < depends . length ; i ++ ) { String parentClassName = depends [ i ] ; ClassFile parentCf = getClassFile ( parentClassName ) ; if ( parentCf == null ) { _log . error ( "can't find dependClassFile:" + parentClassName ) ; result = false ; break ; } } return result ; }
验证注册类是否符合要求
@param className
@param depends