Interface ExperimentalFeatureManagementMBean
-
public interface ExperimentalFeatureManagementMBeanTheExperimentalFeatureManagementMBeanprovides operations for managing experimental features offered by the SIS.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSIS_MANAGEMENT_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisableExperimentalFeature(String feature)Disable an experimental feature.voidenableExperimentalFeature(String feature)Enable an experimental feature.String[]getEnabledExperimentalFeatures()Get the list of experimental features currently enabled in the SIS.String[]getSupportedExperimentalFeatures()Get the list of experimental features supported by the SIS.booleanisExperimentalFeatureEnabled(String feature)Get the current status of an experimental feature.
-
-
-
Field Detail
-
SIS_MANAGEMENT_TYPE
static final String SIS_MANAGEMENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSupportedExperimentalFeatures
String[] getSupportedExperimentalFeatures() throws ManagementException
Get the list of experimental features supported by the SIS.- Returns:
- a list of the names of the experimental features supported by the SIS.
- Throws:
ManagementException- if the operation could not be completed due to a system-level failure.
-
getEnabledExperimentalFeatures
String[] getEnabledExperimentalFeatures() throws ManagementException
Get the list of experimental features currently enabled in the SIS.- Returns:
- a list of the names of the experimental features currently enabled in the SIS.
- Throws:
ManagementException- if the operation could not be completed due to a system-level failure.
-
enableExperimentalFeature
void enableExperimentalFeature(String feature) throws NullPointerException, UnrecognizedComponentException, ManagementException
Enable an experimental feature.- Parameters:
feature- the name of the experimental feature to enable.- Throws:
NullPointerException- iffeatureisnull/UnrecognizedComponentException- if the specified experimental feature is unknown.ManagementException- if the operation could not be completed due to a system-level failure.
-
disableExperimentalFeature
void disableExperimentalFeature(String feature) throws NullPointerException, UnrecognizedComponentException, ManagementException
Disable an experimental feature.- Parameters:
feature- the name of the experimental feature to enable.- Throws:
NullPointerException- iffeatureisnull/UnrecognizedComponentException- if the specified experimental feature is unknown.ManagementException- if the operation could not be completed due to a system-level failure.
-
isExperimentalFeatureEnabled
boolean isExperimentalFeatureEnabled(String feature) throws NullPointerException, UnrecognizedComponentException, ManagementException
Get the current status of an experimental feature.- Parameters:
feature- the name of the experimental feature to enable.- Returns:
trueif the experimental feature is currently enabled,falseotherwise.- Throws:
NullPointerException- iffeatureisnull/UnrecognizedComponentException- if the specified experimental feature is unknown.ManagementException- if the operation could not be completed due to a system-level failure.
-
-