Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.6
-
None
Description
Currently, the ObjectLocator.autobuild(Class) method immediately instantiates a class, including injected dependencies via the class' constructor.
However, in certain cases, such as contributions to the MasterObjectProvider, you need to proxy the contribution to prevent server construction dependency cycles.
It would be nice if there was an autoproxy(Class,Class) method that would create a proxy (similar to a standard service proxy) that would delay instantiation of the class. First class is the interface type, second class is the implementation class.