[
https://issues.apache.org/jira/browse/OWB-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg resolved OWB-1108.
--------------------------------
Resolution: Fixed
SPI services may now simply implement java.io.Closeable if they need to perform
some cleanup after shutdown.
The close() method will get invoked from the BeanManager#clear() which gets
called pretty much at the end of the application shutdown.
> properly destroy SPI services which implement Closeable
> -------------------------------------------------------
>
> Key: OWB-1108
> URL: https://issues.apache.org/jira/browse/OWB-1108
> Project: OpenWebBeans
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.6.2
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.6.3
>
>
> Sometimes we need cleanup routines in SPI services. Currently the services
> simply get thrown away.
> In the future all of them should get properly destroyed if they implement tha
> java.io,Closeable interface.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)