@Produces
@Named("nplRepositoryData")
public RepositoryData createRepositoryData(
@Named("bookFlightFunctionTemplate") FunctionTemplate bookFlightFunctionTemplate ) {
RepositoryData data = RfcFactory.eINSTANCE.createRepositoryData();
Map<String, FunctionTemplate> templates = new HashMap<String, FunctionTemplate>();
templates.put("BOOK_FLIGHT", bookFlightFunctionTemplate);
data.setFunctionTemplates(templates);
return data;
}