Mark Struberg created OWB-1064:
----------------------------------

             Summary: Split ApplicationContext destroyal for custom beans and 
CDI internal beans like Extensions
                 Key: OWB-1064
                 URL: https://issues.apache.org/jira/browse/OWB-1064
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Context and Scopes
    Affects Versions: 1.5.0
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 1.5.1


The ApplicationContext must be shut down _before_ the BeforeBeanDiscovery 
extension event. But otoh all internal beans and Extensions iteslf are defined 
as being @ApplicationScoped. 

To solve this problem we need to have the Context#destroy() method only destroy 
custom beans. Additionally I will introduce a new method 
ApplicationContext#destroySystemBeans which finally also destroys Extensions, 
etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to