Skip navigation links

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

E38079-01


oracle.axia.api.management.upgrade
Interface UpgradeManagementMBean


public interface UpgradeManagementMBean

The UpgradeManagementMBean allows the install/uninstall/listing of rolling patch sets.

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

Method Summary
 void installRollingPatch(String path)
          Install a rolling patch.
 List<oracle.axia.platform.upgrade.common.RollingPatch> listRollingPatches()
          List current and previously installed rolling patches.
 BlockingQueue<String> retrieveLoggingQueue()
          Retrieve the log queue for the patch application.
 int retrieveRollingPatchBundleCount()
          Retrieve the number of patched bundles in the current rolling patch.
 void rollbackRollingPatch(String rollingPatchVersion)
          Roll back a given rolling patch.
 void rollbackToRollingPatchVersion(String rollingPatchVersion)
          Roll back to a given version.

 

Method Detail

listRollingPatches

List<oracle.axia.platform.upgrade.common.RollingPatch> listRollingPatches()
List current and previously installed rolling patches. Sorted by ascending version.
Returns:
a list of the current and previously installed rolling patches.

installRollingPatch

void installRollingPatch(String path)
                         throws IOException
Install a rolling patch.
Parameters:
path - The path to the rolling patch zip file to install.
Throws:
IOException - if there is an error during installation

rollbackRollingPatch

void rollbackRollingPatch(String rollingPatchVersion)
                          throws IOException
Roll back a given rolling patch.
Parameters:
rollingPatchVersion - the version of the rolling patch to roll back/remove.
Throws:
IOException - if there is an error during installation

rollbackToRollingPatchVersion

void rollbackToRollingPatchVersion(String rollingPatchVersion)
                                   throws IOException
Roll back to a given version. E.g. if RPs 1,2,3 and 4 are installed, and this method is called with version 2, then remove patch 4 and rollback to 2, using the backup from 3.
Parameters:
rollingPatchVersion - the version of the rolling patch to roll back *to*, e.g. remove all later versions, but not this one.
Throws:
IOException - if there is an error during installation

retrieveLoggingQueue

BlockingQueue<String> retrieveLoggingQueue()
Retrieve the log queue for the patch application.
Returns:
a blocking queue of the logging messages

retrieveRollingPatchBundleCount

int retrieveRollingPatchBundleCount()
Retrieve the number of patched bundles in the current rolling patch. Only available during the installation of a rolling patch.
Returns:
The count of the included patches plus the base value or base value of 15 if no patch information found.

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.