IN PROGRESS - issue SWF-720: Multiple checkboxes to Collection mapping
http://jira.springframework.org/browse/SWF-720
This commit is contained in:
@@ -219,6 +219,6 @@ class FlowExecutorFactoryBean implements FactoryBean, ApplicationContextAware, I
|
||||
}
|
||||
|
||||
private Class fromStringToClass(String name) {
|
||||
return conversionService.getClassByName(name);
|
||||
return conversionService.getClassForAlias(name);
|
||||
}
|
||||
}
|
||||
@@ -237,7 +237,7 @@ class FlowRegistryFactoryBean implements FactoryBean, InitializingBean {
|
||||
}
|
||||
|
||||
private Class fromStringToClass(String type) {
|
||||
return flowBuilderServices.getConversionService().getClassByName(type);
|
||||
return flowBuilderServices.getConversionService().getClassForAlias(type);
|
||||
}
|
||||
|
||||
private FlowDefinition buildFlowDefinition(FlowBuilderInfo builderInfo) {
|
||||
|
||||
@@ -910,7 +910,7 @@ public class FlowModelFlowBuilder extends AbstractFlowBuilder {
|
||||
}
|
||||
|
||||
private Class toClass(String name) {
|
||||
return getLocalContext().getConversionService().getClassByName(name);
|
||||
return getLocalContext().getConversionService().getClassForAlias(name);
|
||||
}
|
||||
|
||||
private static class FlowRelativeResourceLoader implements ResourceLoader {
|
||||
|
||||
@@ -124,8 +124,8 @@ public class FlowBuilderContextImpl implements FlowBuilderContext {
|
||||
return getFlowBuilderServices().getConversionService().getConversionExecutor(sourceClass, targetClass);
|
||||
}
|
||||
|
||||
public Class getClassByName(String name) {
|
||||
return getFlowBuilderServices().getConversionService().getClassByName(name);
|
||||
public Class getClassForAlias(String name) {
|
||||
return getFlowBuilderServices().getConversionService().getClassForAlias(name);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public class FlowBuilderServicesBeanDefinitionParserTests extends TestCase {
|
||||
throw new UnsupportedOperationException("Auto-generated method stub");
|
||||
}
|
||||
|
||||
public Class getClassByName(String alias) throws ConversionExecutionException {
|
||||
public Class getClassForAlias(String alias) throws ConversionExecutionException {
|
||||
throw new UnsupportedOperationException("Auto-generated method stub");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user