org.rhq.plugins.jbossas.util
Class ConnectionFactoryConfigurationEditor
java.lang.Object
org.rhq.plugins.jbossas.util.ConnectionFactoryConfigurationEditor
public class ConnectionFactoryConfigurationEditor
- extends Object
Loads and edits Connection Factories in the connection factory xml format
- Author:
- Mark Spritzler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionFactoryConfigurationEditor
public ConnectionFactoryConfigurationEditor()
loadConnectionFactory
public static org.rhq.core.domain.configuration.Configuration loadConnectionFactory(File file,
String name)
updateConnectionFactory
public static void updateConnectionFactory(File deploymentFile,
String name,
ConfigurationUpdateReport report)
- Writes out connection factory changes to the file system. If the file does not exist it will create a new file in the
requested location.
- Parameters:
deploymentFile - XML File that holds the Connection Factory informationname - Name of the Connection Factoryreport - ConfigurationUpdateReport object
updateConnectionFactory
public static void updateConnectionFactory(File deploymentFile,
String name,
CreateResourceReport report)
deleteConnectionFactory
public static void deleteConnectionFactory(File deploymentFile,
String name)
setListElementValuesForDepends
public static void setListElementValuesForDepends(org.rhq.core.domain.configuration.Property property,
org.jdom.Element element)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.