Interface BeanManagerProvider
public interface BeanManagerProvider
Provider SPI for CDI
BeanManager
for the current context.
Implementations can decide how to obtain bean manager (e.g. InitialContext
, CDI 1.1 API, ...).- Since:
- 2.17
- Author:
- Michal Gajdos
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.enterprise.inject.spi.BeanManager
Get the CDIbean manager
for the current context.
-
Method Details
-
getBeanManager
jakarta.enterprise.inject.spi.BeanManager getBeanManager()Get the CDIbean manager
for the current context.- Returns:
- bean manager for the current context or
null
if no bean manager is available.
-