You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2010/02/24 16:02:28 UTC

[jira] Updated: (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 ]

Igor Drobiazko updated TAP5-1029:
---------------------------------

    Issue Type: New Feature  (was: Bug)

> 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.0, 5.1.0.5
>            Reporter: Igor Drobiazko
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.