[
https://issues.apache.org/jira/browse/TAPESTRY-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAPESTRY-1860.
------------------------------------------
Resolution: Fixed
Fix Version/s: 5.0.7
> Extend ObjectLocator to create a proxied, autobuilt service
> -----------------------------------------------------------
>
> Key: TAPESTRY-1860
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1860
> Project: Tapestry
> Issue Type: New Feature
> Components: tapestry-core
> Affects Versions: 5.0.6
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Fix For: 5.0.7
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]