[ 
https://issues.apache.org/jira/browse/FELIX-2394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876135#action_12876135
 ] 

Alan Cabrera commented on FELIX-2394:
-------------------------------------

Section 102.10.3.4

If the bundle which performed the registration is stopped or otherwise
"unget"s the Http Service without calling unregister then Http Service must
automatically unregister the registration. However, if the registration was
for a servlet, the destroy method of the servlet will not be called in this case
since the bundle may be stopped. unregister must be explicitly called to
cause the destroy method of the servlet to be called. This can be done in the
BundleActivator.stop method of the bundle registering the servlet.

> Servlets that are automatically unregistered should not be destroyed
> --------------------------------------------------------------------
>
>                 Key: FELIX-2394
>                 URL: https://issues.apache.org/jira/browse/FELIX-2394
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.0.4
>            Reporter: Alan Cabrera
>
> Servlets that are automatically unregistered, when their registering bundles 
> are uninstalled, should not be destroyed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to