ExpandClassConfig expandClassConfig=processEngineConfiguration.getExpandClassConfig();
List<ExpandClass> expandClasses=expandClassConfig.getExpandClass();
for (ExpandClass expandClass : expandClasses) {
if(expandClass.getClassId().equals("IdentityLinkQuery")){
Object[] objTemp = new Object[] {commandExecutor};
IdentityLinkQuery identityLinkQuery =(IdentityLinkQuery) ReflectUtil.instantiate(expandClass.getClassImpl(),objTemp);
return identityLinkQuery;
}
}
throw new FixFlowException("流程引擎扩展配置里的IdentityLinkQuery实现类指定错误");
}