use of org.wso2.carbon.bpmn.core.types.datatypes.xml.XmlAPIResolverFactory in project carbon-business-process by wso2.
the class ActivitiEngineBuilder method setResolverFactories.
/**
* Function to register resolver factories that used by script engines and JUEL
* @param processEngineConfiguration
*/
private void setResolverFactories(ProcessEngineConfigurationImpl processEngineConfiguration) {
List<ResolverFactory> resolverFactories = new ArrayList<>();
// Resolvers from Activiti
resolverFactories.add(new VariableScopeResolverFactory());
resolverFactories.add(new BeansResolverFactory());
// Resolvers added for WSO2 BPS
resolverFactories.add(new XmlAPIResolverFactory());
resolverFactories.add(new JsonAPIResolverFactory());
processEngineConfiguration.setResolverFactories(resolverFactories);
}
Aggregations