Apache CXF API

org.apache.cxf.configuration.spring
Interface MapProvider<X,V>

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.


Method Summary
 Map<X,V> createMap()
           
 

Method Detail

createMap

Map<X,V> createMap()

Apache CXF API

Apache CXF