public interface XMLConfigurationEditor
| Modifier and Type | Field and Description |
|---|---|
static String |
CONNECTION_MBEAN_NAME |
static String |
DATASOURCE_MBEAN_NAME |
static String |
DATASOURCE_ROOT_ELEMENT |
static String |
JMQ_QUEUE_CODE |
static String |
JMQ_TOPIC_CODE |
static String |
JMS_ROOT_ELEMENT |
static int |
LIST_ATTRIBUTE |
static int |
LIST_DEFAULT |
static int |
LIST_SUBTAG |
static String |
LOCAL_TX_TYPE |
static int |
MAP_ATTRIBUTE |
static int |
MAP_DEFAULT |
static int |
MAP_SUBTAG |
static String |
NO_TX_TYPE |
static int |
SIMPLE_ATTRIBUTE |
static int |
SIMPLE_DEFAULT |
static int |
SIMPLE_SUBTAG |
static String |
XA_TX_TYPE |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteComponent(File deploymentFile,
String name)
This method will delete a configuration for a component from an xml file.
|
org.rhq.core.domain.configuration.Configuration |
loadConfiguration(File file,
String name)
This method loads an XML file and converts it into a @see Configuration object
|
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.
|
static final String DATASOURCE_ROOT_ELEMENT
static final String JMS_ROOT_ELEMENT
static final String DATASOURCE_MBEAN_NAME
static final String CONNECTION_MBEAN_NAME
static final String NO_TX_TYPE
static final String LOCAL_TX_TYPE
static final String XA_TX_TYPE
static final String JMQ_TOPIC_CODE
static final String JMQ_QUEUE_CODE
static final int MAP_DEFAULT
static final int MAP_SUBTAG
static final int MAP_ATTRIBUTE
static final int LIST_DEFAULT
static final int LIST_SUBTAG
static final int LIST_ATTRIBUTE
static final int SIMPLE_DEFAULT
static final int SIMPLE_SUBTAG
static final int SIMPLE_ATTRIBUTE
org.rhq.core.domain.configuration.Configuration loadConfiguration(File file, String name)
file - @see File object for the xml file to readname - name of the component to retrieve from the xml filevoid updateConfiguration(File deploymentFile, String name, ConfigurationUpdateReport report)
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.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.void updateConfiguration(File deploymentFile, String name, CreateResourceReport report)
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-2013 Red Hat, Inc.. All Rights Reserved.