com.metamatrix.platform.config.spi.xml
Class XMLConfigurationConnector

java.lang.Object
  extended by com.metamatrix.platform.config.spi.xml.XMLConfigurationConnector

public class XMLConfigurationConnector
extends java.lang.Object

Acts as a scoped unit of work configuration service layer.


Method Summary
 void commit()
          Complete the transaction represented by this TransactionObject.
 java.util.Set executeActions(java.util.List actions)
           
 ConfigurationModelContainerImpl getConfigurationModel()
           
 void saveResources(java.util.Collection resourceDescriptors, java.lang.String principalName)
          Save the resource changes based on each ResourceDescriptor in the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

commit

public void commit()
            throws ConfigurationException
Complete the transaction represented by this TransactionObject.

Throws:
TransactionException - if the transaction is unable to commit.
ConfigurationException

getConfigurationModel

public ConfigurationModelContainerImpl getConfigurationModel()
                                                      throws ConfigurationException
Throws:
ConfigurationException

executeActions

public java.util.Set executeActions(java.util.List actions)
                             throws ConfigurationException
Throws:
ConfigurationException

saveResources

public void saveResources(java.util.Collection resourceDescriptors,
                          java.lang.String principalName)
                   throws ConfigurationException
Save the resource changes based on each ResourceDescriptor in the collection.

Parameters:
resourceDescriptors - for the resources to be changed *
Throws:
ConfigurationException - if an error occurred within or during communication with the Configuration Service.


Copyright © 2009. All Rights Reserved.