I have a method that returns a Map():
private Map<String, Catalog> readCatalogFromXml(String xmlFile) {
// blah blah read XML via DOM
}
However, I need to bind the results of that call to a single instance to be injected into multiple classes. I’ve been looking over the docs for MapBinder but am confused. I’m probably missing something simple, can anyone assist?
Jason
If you just need the returned Map injected, I would …