Inject BundleContext in non-static field
----------------------------------------
Key: JBOSGI-186
URL:
https://jira.jboss.org/jira/browse/JBOSGI-186
Project: JBoss OSGi
Issue Type: Task
Security Level: Public (Everyone can see)
Components: jboss-osgi-husky
Reporter: Thomas Diesler
Fix For: JBossOSGi 1.0.x
Currently injection works like this
@ProvideContext
public static BundleContext context;
which requires to have the context reset manually (i.e. there is no garbage collection of
the context)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira