code: private Map<K, Class<? extends T>> findInstanceAbleScript(Set<Class<? extends T>> scriptClazzs)
  			throws InstantiationException, IllegalAccessException {
  		Map<K, Class<? extends T>> codeMap = new ConcurrentHashMap<K, Class<? extends T>>();
  		for (Class<? extends T> scriptClazz : scriptClazzs) 
  		{
  			T script = getInstacne(scriptClazz);
  			if(script==null)
  			{
  				continue;
  			}
  			K key = script.getScriptKey();
  			if(skipRegistScript(script))
  			{
  				_log.warn("skip regist script,key="+key+",class=" + script.getClass());
  				continue;
  			}
  			if (codeMap.containsKey(key)) {// 重复脚本code定义
  				_log.error("find Repeat ScriptClass,key="+key+",addingScript:" + script.getClass() + ",existScript:"
  						+ codeMap.get(key));
  			} else {
  				codeMap.put(key, scriptClazz);
  				_log.info("regist ScriptClass:key="+key+",class=" + scriptClazz);
  			}
  		}
  		return codeMap;
  	}
docs: 查找可实例化的脚本
  @param scriptClazzs
  @return
  @throws InstantiationException
  @throws IllegalAccessException