You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2017/11/23 08:43:00 UTC
[jira] [Created] (ARIES-1761) ensure we inject BundleContext to the
beans which need it
Freeman Fang created ARIES-1761:
-----------------------------------
Summary: ensure we inject BundleContext to the beans which need it
Key: ARIES-1761
URL: https://issues.apache.org/jira/browse/ARIES-1761
Project: Aries
Issue Type: Bug
Components: Blueprint
Affects Versions: blueprint-spring-0.5.0
Reporter: Freeman Fang
With the old spring-dm, there's a "BundleContextAware" interface, any bean implements this interface can get BundleContext injected.
With the new aries-blueprint-spring, we should follow similar pattern, like check if a bean has setBundleContext method, if so, just inject the BundleContext into the bean, so that the application bundles with work with spring-dm can also work with aries-blueprint-spring
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)