tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Drobiazko (JIRA)" <j...@apache.org>
Subject [jira] Created: (TAP5-1029) Provide public API for injecting the dependencies into already-constructed instances.
Date Wed, 24 Feb 2010 15:02:28 GMT
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: Bug
          Components: tapestry-ioc
    Affects Versions: 5.1.0.5, 5.2.0
            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.


Mime
View raw message