public interface FeatureListMBean
The ObjectName for this MBean is "WebSphere:name=com.ibm.websphere.config.mbeans.FeatureListMBean".
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_FILE_PATH
Key for the file path of the generated feature list.
|
static java.lang.String |
KEY_OUTPUT
Key for the merged (systemOut and systemErr) output of the feature list generation.
|
static java.lang.String |
KEY_RETURN_CODE
Key for the return code of the feature list generation.
|
static java.lang.String |
OBJECT_NAME
A String representing the
javax.management.ObjectName that this MBean maps to. |
static int |
RETURN_CODE_ERROR
Value of
KEY_RETURN_CODE when an error is encountered during schema generation. |
static int |
RETURN_CODE_OK
Value of
KEY_RETURN_CODE when the schema generation is successful. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
generate(java.lang.String encoding,
java.lang.String locale,
java.lang.String productExt)
Creates a local XML file containing the server feature list, generated with the given options.
|
static final java.lang.String OBJECT_NAME
javax.management.ObjectName
that this MBean maps to.static final java.lang.String KEY_OUTPUT
static final java.lang.String KEY_RETURN_CODE
RETURN_CODE_OK
or RETURN_CODE_ERROR
.static final java.lang.String KEY_FILE_PATH
static final int RETURN_CODE_OK
KEY_RETURN_CODE
when the schema generation is successful.static final int RETURN_CODE_ERROR
KEY_RETURN_CODE
when an error is encountered during schema generation.java.util.Map<java.lang.String,java.lang.Object> generate(java.lang.String encoding, java.lang.String locale, java.lang.String productExt)
encoding
- a String that specifies the character set to use when writing the feature list xml file.locale
- a String which specifies the language to use when writing the feature list. This consists of the ISO-639 two-letter lowercase language code, optionally
followed by an underscore and the ISO-3166 uppercase two-letter country code.productExt
- a String which specifies the product extension name whose features are to be listed. If the product extension is installed in the default user location,
use the keyword: usr. If this option is not specified, the action is taken on Liberty core.KEY_OUTPUT
, KEY_RETURN_CODE
, and KEY_FILE_PATH