public interface CDIProvider extends Prioritized
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CDI_PROVIDER_PRIORITY |
Modifier and Type | Method and Description |
---|---|
CDI<java.lang.Object> |
getCDI()
Provides access to the current container
|
default int |
getPriority()
Returns the priority for this SPI element.
|
static final int DEFAULT_CDI_PROVIDER_PRIORITY
CDI<java.lang.Object> getCDI()
java.lang.IllegalStateException
- if no CDI container is availabledefault int getPriority()
Prioritized
Returns the priority for this SPI element.
getPriority
in interface Prioritized