org.rhq.plugins.jbossas.util
Class JBossMessagingConfigurationEditor
java.lang.Object
org.rhq.plugins.jbossas.util.AbstractMessagingConfigurationEditor
org.rhq.plugins.jbossas.util.JBossMessagingConfigurationEditor
- All Implemented Interfaces:
- XMLConfigurationEditor
public class JBossMessagingConfigurationEditor
- extends AbstractMessagingConfigurationEditor
- implements XMLConfigurationEditor
- Author:
- Mark Spritzler, Heiko W. Rupp
| Fields inherited from class org.rhq.plugins.jbossas.util.AbstractMessagingConfigurationEditor |
ATTRIBUTE, code, config, createReport, DEPENDS, deploymentFile, LOG, root, rootElementString, securityConfig, type, updateReport |
| Fields inherited from interface org.rhq.plugins.jbossas.util.XMLConfigurationEditor |
CONNECTION_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 |
| Methods inherited from class org.rhq.plugins.jbossas.util.AbstractMessagingConfigurationEditor |
addNameAttributeToMBeanElement, bindSimplePropertiesToConfiguration, bindSimplePropertiesToXML, deleteComponent, findComponentElement, findSecurityConf, getNameProperty, getRootElementString, getType, loadConfiguration, loadNameProperty, setRootElementString, setType, updateFile, updateIfNameChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossMessagingConfigurationEditor
public JBossMessagingConfigurationEditor(String type)
updateConfiguration
public void updateConfiguration(File deploymentFile,
String name,
ConfigurationUpdateReport report)
- Description copied from interface:
XMLConfigurationEditor
- This method will save a Configuration object into the xml file supplied where the component already existing. The
- Specified by:
updateConfiguration in interface XMLConfigurationEditor
- Parameters:
deploymentFile - @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.- See Also:
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.
updateConfiguration
public void updateConfiguration(File deploymentFile,
String name,
CreateResourceReport report)
- Description copied from interface:
XMLConfigurationEditor
- This method will save a Configuration object into the xml file supplied where the component does not already
existing. This means this is a new Resource being created, the file may or may not already exist. If it doesn't
exist a new file is created, if it does, the configuration will be appended to the file in the appropriate place.
The @see CreateResourceReport 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.
- Specified by:
updateConfiguration in interface XMLConfigurationEditor
- Parameters:
deploymentFile - @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-2012 Red Hat, Inc.. All Rights Reserved.