BundleContext must throw an IllegalStateException if used and the bundle is not
in either one of the STARTING, STOPPING, or ACTIVE state
----------------------------------------------------------------------------------------------------------------------------------------
Key: FELIX-66
URL: http://issues.apache.org/jira/browse/FELIX-66
Project: Felix
Type: Task
Components: Framework
Reporter: Karl Pauls
Assigned to: Karl Pauls
>From the javadoc of org.osgi.framework.BundleContext:
--
The BundleContext object is only valid during the execution of
its context bundle; that is, during the period from when the context bundle
is in the STARTING, STOPPING, and
ACTIVE bundle states. If the BundleContext
object is used subsequently, an IllegalStateException must be
thrown.
--
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira