Skip navigation links

Oracle Communications Service Broker Configuration and Runtime MBean Java API Referencee
6.1

E38079-01


oracle.axia.api.management.cm
Interface ConfigurationAdminMBean


public interface ConfigurationAdminMBean

MBean exposed by the configuration service.

Author:
Copyright (c) 2010 by Oracle Corp. All Rights Reserved.

Method Summary
 void begin()
          Start transaction update.
 void commit()
          Commits any changes made since the transaction update was started using the begin operation.
 void copyConfiguration(String symbolicName, String fromVersion, String toVersion)
          Copy configuration between bundle versions.
 String getConfiguration(String symbolicName, String bundleVersion, String filename, String configVersion)
          Get configuration XML document.
 boolean isTransactionActive()
          Indicates if transaction update is active.
 String[] listConfigurationVersions(String symbolicName, String bundleVersion, String filename)
          List all versions where a specific configuration has changed.
 List<String> listPendingConfiguration()
          List pending configuration entries since the transaction update started.
 void rollback()
          Rollback any active changes since transaction update was started.

 

Method Detail

begin

void begin()
Start transaction update. Configuration changes after invoking this operation will not be committed until commit is invoked. Changes can also be reverted using the rollback operation.
Throws:
IllegalStateException - If transaction update is already active.

commit

void commit()
Commits any changes made since the transaction update was started using the begin operation.
Throws:
IllegalStateException - If transaction update is not active.
IllegalArgumentException - On validation errors.
RuntimeException - On commit errors.

rollback

void rollback()
Rollback any active changes since transaction update was started.
Throws:
IllegalStateException - If transaction update is not active.

isTransactionActive

boolean isTransactionActive()
Indicates if transaction update is active.
Returns:
Boolean indicating if transaction update is active.

listPendingConfiguration

List<String> listPendingConfiguration()
List pending configuration entries since the transaction update started.
Returns:
List of configuration entries.
Throws:
IllegalStateException - If transaction update is not active.

copyConfiguration

void copyConfiguration(String symbolicName,
                       String fromVersion,
                       String toVersion)
Copy configuration between bundle versions.
Parameters:
symbolicName - The symbolic name of the bundle
fromVersion - The version of the source bundle
toVersion - The version of the target bundle
Throws:
IllegalArgumentException - For invalid input.

listConfigurationVersions

String[] listConfigurationVersions(String symbolicName,
                                   String bundleVersion,
                                   String filename)
List all versions where a specific configuration has changed.
Parameters:
symbolicName - Bundle symbolic name
bundleVersion - Bundle version
filename - Configuration file name
Returns:
List of all configuration version. Listed in reversed chronological order, starting with current version.

getConfiguration

String getConfiguration(String symbolicName,
                        String bundleVersion,
                        String filename,
                        String configVersion)
Get configuration XML document.
Parameters:
symbolicName - Bundle symbolic name
bundleVersion - Bundle version
filename - Configuration file name
configVersion - Configuration version
Returns:
XML document

Skip navigation links

Oracle Communications Service Broker Configuration and Runtime MBean Java API Referencee
6.1

E38079-01


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.