public interface CDIProvider extends Prioritized
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CDI_PROVIDER_PRIORITY |
Modifier and Type | Method and Description |
---|---|
CDI<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<Object> getCDI()
IllegalStateException
- if no CDI container is availabledefault int getPriority()
Prioritized
Returns the priority for this SPI element.
getPriority
in interface Prioritized
Copyright © 2021 JBoss by Red Hat. All rights reserved.