public interface ComponentConfiguration extends DynamicMBean
| Modifier and Type | Method and Description |
|---|---|
String |
addApplicationConfiguration(String name,
CompositeData appConfig)
Add an application configuration.
|
String |
addApplicationConfiguration(String name,
Properties appCfgProps)
Add an application configuration.
|
String |
addApplicationVariable(String name,
CompositeData appVar)
This operation adds a new application variable.
|
String |
deleteApplicationConfiguration(String name)
Delete an application configuration.
|
String |
deleteApplicationVariable(String name)
This operation deletes an application variable, if a variable with the specified name does
not exist, it's an error.
|
TabularData |
getApplicationConfigurations()
Get a Map of all application configurations for the component.
|
TabularData |
getApplicationVariables()
Get the Application Variable set for a component.
|
boolean |
isAppConfigSupported()
Detect the components support for application configuration.
|
boolean |
isAppVarsSupported()
Detect the components support for application variables.
|
boolean |
isComponentConfigSupported()
Detect the components support for component configuration.
|
CompositeType |
queryApplicationConfigurationType()
Get the CompositeType definition for the components application configuration
|
String |
retrieveConfigurationDisplayData()
Retrieves the component configuration metadata.
|
String |
retrieveConfigurationDisplaySchema()
Retrieves the component specific configuration schema.
|
String |
setApplicationConfiguration(String name,
CompositeData appConfig)
Update a application configuration.
|
String |
setApplicationConfiguration(String name,
Properties appCfgProps)
Update a application configuration.
|
String |
setApplicationVariable(String name,
CompositeData appVar)
This operation sets an application variable.
|
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributesboolean isComponentConfigSupported()
throws MBeanException
MBeanException - if the component is not installed or is not
in the Started state.boolean isAppVarsSupported()
throws MBeanException
MBeanException - if the component is not installed or is not
in the Started state.String addApplicationVariable(String name, CompositeData appVar) throws MBeanException
name - - name of the application variableappVar - - this is the application variable compoisteMBeanException - if an error occurs in adding the application variables to the
component.String setApplicationVariable(String name, CompositeData appVar) throws MBeanException
name - - name of the application variableappVar - - this is the application variable compoiste to be updated.MBeanException - if one or more application variables cannot be deletedString deleteApplicationVariable(String name) throws MBeanException
name - - name of the application variableMBeanException - on errors.TabularData getApplicationVariables()
boolean isAppConfigSupported()
throws MBeanException
MBeanException - if the component is not installed or is not
in the Started state.CompositeType queryApplicationConfigurationType()
String addApplicationConfiguration(String name, Properties appCfgProps) throws MBeanException
name - - configuration name, must match the value of the field "name" in the namedConfigappCfgProps - - application configuration propertiesMBeanException - if the application configuration cannot be added.String addApplicationConfiguration(String name, CompositeData appConfig) throws MBeanException
name - - configuration name, must match the value of the field "name" in the namedConfigappConfig - - application configuration compositeMBeanException - if the application configuration cannot be added.String deleteApplicationConfiguration(String name) throws MBeanException
name - - identification of the application configuration to be deletedMBeanException - if the configuration cannot be deleted.String setApplicationConfiguration(String name, Properties appCfgProps) throws MBeanException
name - - configuration name, must match the value of the field "configurationName" in the appConfigappCfgProps - - application configuration properties.MBeanException - if there are errors encountered when updating the configuration.String setApplicationConfiguration(String name, CompositeData appConfig) throws MBeanException
name - - configuration name, must match the value of the field "configurationName" in the appConfigappConfig - - application configuration compositeMBeanException - if there are errors encountered when updating the configuration.TabularData getApplicationConfigurations()
String retrieveConfigurationDisplaySchema() throws MBeanException
MBeanException - on errors.String retrieveConfigurationDisplayData() throws MBeanException
MBeanException - on errorsCopyright © 2011-2016 OpenESB Community. All Rights Reserved.