I have this factory class, which i want to wire via spring for runtime configuration of the map. The map contains an enum object and standard pojo.
public class