for (String name : names) {
GenericBeanDefinition definition = new GenericBeanDefinition();
definition.setBeanClass(GwtRpcController.class);
propertyValues = new MutablePropertyValues();
propertyValues.addPropertyValue("remoteService", new RuntimeBeanReference(name));
if (unexpectedExceptionMappingsBeanName != null) {
if (logger.isDebugEnabled()) {
logger.debug("Registering unexpected exception mappings on controler: " + name + "Controller");
}
propertyValues.addPropertyValue("unexpectedExceptionMappings", new RuntimeBeanReference(unexpectedExceptionMappingsBeanName));