Provide mechanism for injecting a Serializable Provider<T> or ObjectFactory<T> via XML [SPR-6998] #11663
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Mike Youngstrom opened SPR-6998 and commented
This issue is related to #11417 though I think it should work for non EL situations as well. To fix this I would be happy if something like ObjectFactoryCreatingFactoryBean were created for the Provider<T> interface as well. And that both were enhanced to make the respective Provider or ObjectFactory serializable similar to what can be done with
@Inject
/@Autowired
with #10747. That said if the decision were made to only support this through EL (#11417) that would be fine too though it may be less risky to simply make ObjectFactoryCreatingFactoryBean return a serializable ObjectFactory sooner?Affects: 3.0.1
Issue Links:
Referenced from: commits 16eb915
The text was updated successfully, but these errors were encountered: