jgroup.upgrade
Class UpgradeManagerImpl

java.lang.Object
  extended by jgroup.upgrade.UpgradeManagerImpl
All Implemented Interfaces:
java.rmi.Remote, ExternalGMIListener, UpgradeManager

public class UpgradeManagerImpl
extends java.lang.Object
implements UpgradeManager

Since:
Jgroup 1.2
Author:
Hein Meling

Constructor Summary
UpgradeManagerImpl(DependableRegistry dregistry)
          Construct a local UpgradeManagerImpl instance.
 
Method Summary
 void downgradeGroup(AppConfig app)
          Downgrade the group for the given application.
 void upgradeGroup(AppConfig app)
          Upgrade the group for the specified application, with the applications required redundancy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeManagerImpl

public UpgradeManagerImpl(DependableRegistry dregistry)
                   throws JgroupException,
                          java.rmi.RemoteException
Construct a local UpgradeManagerImpl instance.

Throws:
JgroupException - Raised if the upgrade manager could not be created for numerous reasons.
java.rmi.RemoteException - Raised if there was a problem with the dependable registry.
Method Detail

upgradeGroup

@Multicast
public void upgradeGroup(AppConfig app)
                  throws java.rmi.RemoteException,
                         UnknownGroupException,
                         ExecException
Upgrade the group for the specified application, with the applications required redundancy.

Specified by:
upgradeGroup in interface UpgradeManager
Parameters:
app - The application details required to upgrade the group.
Throws:
java.rmi.RemoteException - Raised if there was communication problems; only when invoked remotely.
UnknownGroupException - Raised if the specified application has no group in the system.
ExecException

downgradeGroup

@Multicast
public void downgradeGroup(AppConfig app)
                    throws java.rmi.RemoteException,
                           UnknownGroupException
Downgrade the group for the given application.

Specified by:
downgradeGroup in interface UpgradeManager
Parameters:
app - The application group to remove.
Throws:
java.rmi.RemoteException - Raised if there was communication problems; only when invoked remotely.
UnknownGroupException - Raised if the specified application has no group in the system.


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.