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, unSetgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenerstatic 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)