I think we need to say explicitly in the spec what contexts are
available during @Dispose and @PreDestroy.
At minimum:
* the @Dependent scope is active
* the application context is active unless the bean being destroyed
has scope @ApplicationScoped
I think we should also require that:
* the session context is active when @ConversationScoped or
@RequestScoped beans are being destroyed
* the conversation context is active when @RequestScoped beans are
being destroyed
--
Gavin King
gavin.king(a)gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org