- All Known Implementing Classes:
- SpringBeanMap, SpringBeanQNameMap
public interface MapProvider<X,V>
This is to workaround an issue with Spring.
In spring, if you inject a Map into a contructor, it
ALWAYS will call entrySet and copy the entries into a new
map (HashMap). Thus, any "deferred" processing will happen
immediately. Also, things like the Bus may not be completely
initialized.
We'll mark some of our Spring things with this interface and
allow the MapProvider to be injected.