String tsConnector = tsDC.getParameter("connectorClassName",Parameter.class).getValue();
ScannedGenericBeanDefinition beanDefinition = getScannedBeanDefinition(tsConnector);
beanDefinition.setAutowireCandidate(true);
Iterator<Parameter> it;
Parameter p;
Map<String, String> tsTC = new HashMap<String, String>();
it = tsDC.getParameters(Parameter.class).iterator();
while (it.hasNext()) {
p = it.next();
tsTC.put(p.getName(), p.getValue(p.getIsFilePath()));
}
MutablePropertyValues propertyValues = new MutablePropertyValues();
propertyValues.addPropertyValue("configuration", tsTC);
beanDefinition.setPropertyValues(propertyValues);
return beanDefinition;