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 © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.