[
https://issues.apache.org/jira/browse/DELTASPIKE-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg resolved DELTASPIKE-1264.
---------------------------------------
Resolution: Not A Bug
Reviewed this again. Sadly there are a few containers which do not provide the
BeanManager with {{CDI.current()}} for Threads not started via
ManagedExecutorService or asynchronous EJBs. The CDI specification says that
{{CDI.current()}} should work for all the application.
So I'd at least expect the BeanManager and the ApplicationContext to be
available and active.
Right now the only way to work around this limitation is by using our
BeanManagerProvider mechanism. Which is why we keep it.
> Remove portions of BeanProvider/BeanManagerProvider
> ---------------------------------------------------
>
> Key: DELTASPIKE-1264
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1264
> Project: DeltaSpike
> Issue Type: Improvement
> Reporter: John D. Ament
> Assignee: Mark Struberg
> Priority: Major
> Fix For: 2.0.1
>
>
> These internal utilities may not be needed based on CDI.current() from CDI
> 1.1.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)