code: protected final void loadClasses() throws Exception 
  	{
  		if (state == State.loading) 
  		{
  			return;
  		}
  		rwLock.writeLock().lock();
  		boolean success=false;
  		try {
  			state = State.loading;
  			ProviderClassLoader oldClassLoader=this.classLoader;
  			ProviderClassLoader newClassLoader = loadClasses(classSource);
  			newClassLoader.close();//关闭资源文件引用
  			this.classLoader = newClassLoader;
  			success=true;
  			if(oldClassLoader!=null)
  			{
  				oldClassLoader.getAllClass().clear();
  			}
  		} finally {
  			state = State.loaded;
  			rwLock.writeLock().unlock();
  		}
  		if(success)
  		{
  			onLoaded();
  			for(EventListener listener:listeners)
  			{
  				try {
  					listener.onLoaded();
  				} catch (Throwable e) {
  				}
  			}
  		}
  	}
docs: 加载所有的脚本类
  @throws Exception