@Autowired
private JsonSerializationHelper jsonSerializationHelper;
@Autowired
private DefinitionRegistryService definitionServiceDelegate;
@Autowired
<BUG>private ComponentService componentService;
@Override</BUG>
public String getProperties(String definitionName, String formName) {
notNull(definitionName, "Data store name cannot be null.");
<BUG>final Definition<?> definition = getDefinition(definitionName);
</BUG>
notNull(definition, "Could not find data store definition of name %s", definitionName);

@Autowired
private JsonSerializationHelper jsonSerializationHelper;
@Autowired
private DefinitionRegistryService definitionServiceDelegate;
@Autowired
private ComponentService componentService;
@Autowired
private PropertiesHelpers propertiesHelpers;
@Override
public String getProperties(String definitionName, String formName) {
notNull(definitionName, "Data store name cannot be null.");
final Definition<?> definition = propertiesHelpers.getDefinition(definitionName);
notNull(definition, "Could not find data store definition of name %s", definitionName);
