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.