You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/08/28 03:04:23 UTC

[jira] [Closed] (TAP5-1029) Provide public API for injecting the dependencies into already-constructed instances.

     [ https://issues.apache.org/jira/browse/TAP5-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1029.
--------------------------------------

    Resolution: Won't Fix

> Provide public API for injecting the dependencies into already-constructed instances.
> -------------------------------------------------------------------------------------
>
>                 Key: TAP5-1029
>                 URL: https://issues.apache.org/jira/browse/TAP5-1029
>             Project: Tapestry 5
>          Issue Type: New Feature
>          Components: tapestry-ioc
>    Affects Versions: 5.2
>            Reporter: Igor Drobiazko
>              Labels: bulk-close-candidate
>
> To improve the acceptance of tapestry-ioc as IoC container of non-Tapestry applications we should provide a public API for injecting dependencies into already-constructed instances. In most non-Tapestry applications autobuilding is not appropriate if you want to inject dependencies. For example an Activator of an OSGi bundle is created by the OSGI environment. There are even more use cases.
> Maybe we should provide a new service called 'Injector' that whould use InternalUtils.injectIntoFields and InternalUtils.invokePostInjectionMethods. This service could be reused in Registry.autibuild.



--
This message was sent by Atlassian JIRA
(v6.2#6252)