| java.lang.Object test.CustomConfig
addApplicationConfiguration | public void addApplicationConfiguration(String name, CompositeData appConfig) throws MBeanException(Code) | | Add an application configuration. The configuration name is a part of the CompositeData.
The itemName for the configuration name is "configurationName" and the type is SimpleType.STRING
Parameters: name - - configuration name, must match the value of the field "name" in the namedConfig Parameters: appConfig - - application configuration composite throws: MBeanException - if the application configuration cannot be added. management message string which gives the status of the operation. For target=cluster, instance specific details are included. |
addApplicationVariable | public void addApplicationVariable(String name, CompositeData appVar) throws MBeanException(Code) | | This operation adds a new application variable. If a variable already exists with
the same name as that specified then the operation fails.
Parameters: name - - name of the application variable Parameters: appVar - - this is the application variable compoiste throws: MBeanException - if an error occurs in adding the application variables to the component. management message string which gives the status of the operation. For target=cluster, instance specific details are included. |
deleteApplicationConfiguration | public void deleteApplicationConfiguration(String name) throws MBeanException(Code) | | Delete an application configuration.
Parameters: name - - identification of the application configuration to be deleted throws: MBeanException - if the configuration cannot be deleted. management message string which gives the status of the operation. For target=cluster, instance specific details are included. |
deleteApplicationVariable | public void deleteApplicationVariable(String name) throws MBeanException(Code) | | This operation deletes an application variable, if a variable with the specified name does
not exist, it's an error.
Parameters: name - - name of the application variable throws: MBeanException - on errors. management message string which gives the status of the operation. For target=cluster, instance specific details are included. |
getApplicationConfigurations | public TabularData getApplicationConfigurations()(Code) | | Get a Map of all application configurations for the component.
a TabularData of all the application configurations for a component keyed by the configuration name. |
getApplicationVariables | public TabularData getApplicationVariables()(Code) | | Get the Application Variable set for a component.
a TabularData which has all the applicationvariables set on the component. |
getComponentCustomInfo | public String getComponentCustomInfo()(Code) | | Test method.
|
getPort | public int getPort()(Code) | | |
queryApplicationConfigurationType | public CompositeType queryApplicationConfigurationType()(Code) | | Get the CompositeType definition for the components application configuration
the CompositeType for the components application configuration. |
setApplicationConfiguration | public void setApplicationConfiguration(String name, CompositeData appConfig) throws MBeanException(Code) | | Update a application configuration. The configuration name is a part of the CompositeData.
The itemName for the configuration name is "configurationName" and the type is SimpleType.STRING
Parameters: name - - configuration name, must match the value of the field "configurationName" in the appConfig Parameters: appConfig - - application configuration composite throws: MBeanException - if there are errors encountered when updating the configuration. management message string which gives the status of the operation. For target=cluster, instance specific details are included. |
setApplicationVariable | public void setApplicationVariable(String name, CompositeData appVar) throws MBeanException(Code) | | This operation sets an application variable. If a variable does not exist with
the same name, its an error.
Parameters: name - - name of the application variable Parameters: appVar - - this is the application variable compoiste to be updated. throws: MBeanException - if one or more application variables cannot be deleted management message string which gives the status of the operation. For target=cluster, instance specific details are included. |
setHostName | public void setHostName(String hostName)(Code) | | HostName gettter/setter
|
setPort | public void setPort(int port)(Code) | | Port get/set
|
|
|