public interface CdiContainerMBean extends ConfigurationMBean
This MBean is used to specify domain-wide defaults for the CDI container
Modifier and Type | Field and Description |
---|---|
static boolean |
IMPLICIT_BEAN_DISCOVERY_ENABLED_DEFAULT |
static java.lang.String |
POLCY_DEFAULT |
static java.lang.String |
POLICY_DISABLED |
static java.lang.String |
POLICY_ENABLED |
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPolicy()
Indicates the CDI policy.
|
boolean |
isImplicitBeanDiscoveryEnabled()
This flag may be used to limit implicit Bean discovery
|
boolean |
isImplicitBeanDiscoveryEnabledSet() |
boolean |
isPolicySet() |
void |
setImplicitBeanDiscoveryEnabled(boolean enabled)
Enables Implicit bean discovery across the domain
|
void |
setPolicy(java.lang.String enabled) |
addTag, freezeCurrentValue, getComments, getId, getInheritedProperties, getName, getNotes, getTags, isDefaultedMBean, isDynamicallyCreated, isInherited, isPersistenceEnabled, isSet, removeTag, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, setTags, touch, unSet
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
static final boolean IMPLICIT_BEAN_DISCOVERY_ENABLED_DEFAULT
static final java.lang.String POLICY_ENABLED
static final java.lang.String POLICY_DISABLED
static final java.lang.String POLCY_DEFAULT
boolean isImplicitBeanDiscoveryEnabled()
This flag may be used to limit implicit Bean discovery
CdiContainerMBean.setImplicitBeanDiscoveryEnabled(boolean)
void setImplicitBeanDiscoveryEnabled(boolean enabled)
Enables Implicit bean discovery across the domain
enabled
- CdiContainerMBean.isImplicitBeanDiscoveryEnabled()
boolean isImplicitBeanDiscoveryEnabledSet()
java.lang.String getPolicy()
Indicates the CDI policy. CDI can be "Enabled" (the default) or "Disabled". If CDI is disabled then no CDI processing will occur including scanning of pojos and initialization of Weld and CDI will not be available to the application via the CDI apis.
void setPolicy(java.lang.String enabled)
boolean isPolicySet()