org.rhq.plugins.jbossas.util
Class ConnectionFactoryConfigurationEditor

java.lang.Object
  extended by 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

Constructor Summary
ConnectionFactoryConfigurationEditor()
           
 
Method Summary
static void deleteConnectionFactory(File deploymentFile, String name)
           
static org.rhq.core.domain.configuration.Configuration loadConnectionFactory(File file, String name)
           
static void setListElementValuesForDepends(org.rhq.core.domain.configuration.Property property, org.jdom.Element element)
           
static void updateConnectionFactory(File deploymentFile, String name, ConfigurationUpdateReport report)
          Writes out connection factory changes to the file system.
static void updateConnectionFactory(File deploymentFile, String name, CreateResourceReport report)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionFactoryConfigurationEditor

public ConnectionFactoryConfigurationEditor()
Method Detail

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 information
name - Name of the Connection Factory
report - 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.