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 String |
POLICY_DISABLED |
static String |
POLICY_ENABLED |
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method and Description |
---|---|
String |
getPolicy()
Indicates the CDI policy.
|
boolean |
isImplicitBeanDiscoveryEnabled()
This flag may be used to limit implicit Bean discovery
|
void |
setImplicitBeanDiscoveryEnabled(boolean enabled)
Enables Implicit bean discovery across the domain
|
void |
setPolicy(String enabled) |
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
static final String POLICY_ENABLED
static final String POLICY_DISABLED
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()
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(String enabled)