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