-
Bug
-
Resolution: Fixed
-
Medium
-
4.0 Iteration 26
Plugins 2 needs to properly construct objects that live in OSGi bundles.
Under the old regime we used JiraUtils.loadComponent() for things like Listeners. This meant they could have things injected into their constructors – but only things that PICO knew about.
With Plugins 2, they might instead want things to be injected by Spring. This would give them all the autowirey goodness that Spring can provide in the OSGi context.
Our current behaviour is no worse than before, this would be new functionality but something that people are likely to expect in the brave new world of OSGi.
We could address this in JIRA but the functionality is necessary in multiple products so I think it makes more sense to implement a solution in atlassian-plugins. I raised PLUG-338 to track this. Once Don adds it there we can fix it in JIRA.
- is detailed by
-
JRASERVER-15962 Upgrade JIRA to Plugins 2.x
- Closed