public class JMSConfigurationEditor extends AbstractMessagingConfigurationEditor implements XMLConfigurationEditor
ATTRIBUTE, code, config, createReport, DEPENDS, deploymentFile, root, rootElementString, securityConfig, type, updateReportCONNECTION_MBEAN_NAME, DATASOURCE_MBEAN_NAME, DATASOURCE_ROOT_ELEMENT, JMQ_QUEUE_CODE, JMQ_TOPIC_CODE, JMS_ROOT_ELEMENT, LIST_ATTRIBUTE, LIST_DEFAULT, LIST_SUBTAG, LOCAL_TX_TYPE, MAP_ATTRIBUTE, MAP_DEFAULT, MAP_SUBTAG, NO_TX_TYPE, SIMPLE_ATTRIBUTE, SIMPLE_DEFAULT, SIMPLE_SUBTAG, XA_TX_TYPE| Constructor and Description |
|---|
JMSConfigurationEditor(String type) |
| Modifier and Type | Method and Description |
|---|---|
void |
updateConfiguration(File deploymentFile,
String name,
ConfigurationUpdateReport report)
This method will save a Configuration object into the xml file supplied where the component already existing.
|
void |
updateConfiguration(File deploymentFile,
String name,
CreateResourceReport report)
This method will save a Configuration object into the xml file supplied where the component does not already
existing.
|
addNameAttributeToMBeanElement, bindSimplePropertiesToConfiguration, bindSimplePropertiesToXML, deleteComponent, findComponentElement, findSecurityConf, getNameProperty, getRootElementString, getType, loadConfiguration, loadNameProperty, setRootElementString, setType, updateFile, updateIfNameChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteComponent, loadConfigurationpublic JMSConfigurationEditor(String type)
public void updateConfiguration(File deploymentFile, String name, ConfigurationUpdateReport report)
XMLConfigurationEditorupdateConfiguration in interface XMLConfigurationEditordeploymentFile - @see File object for the xml file to updatedname - name of the component in the xml file to savereport - the Plugin's @see ConfigurationUpdateReport that holds the new configuration.will be updated with the success or failure of the update. If there is a failure
an error message will be added to the report.public void updateConfiguration(File deploymentFile, String name, CreateResourceReport report)
XMLConfigurationEditorupdateConfiguration in interface XMLConfigurationEditordeploymentFile - @see File object for the xml file to created or updatedname - name of the component for the xml file to savereport - the Plugin's @see CreateResourceReport that holds the new configuration.Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.