org.openorb.notify
Class RecoveryManager

java.lang.Object
  extended by org.openorb.notify.RecoveryManager
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled

public class RecoveryManager
extends java.lang.Object
implements org.apache.avalon.framework.logger.LogEnabled

The RecoveryManager class is responsible for recovering the server channels from a crash. More precisely, it will re-instantiate server objects ( admins and proxies ), re-create the connections and re-populate the event queues with undelivered events. These actions are done on a per-channel basis and given the channel connection/event reliability QoS.

Author:
Olivier Modica, Shawn Boyce

Constructor Summary
RecoveryManager(org.omg.CORBA.ORB orb, EventChannelFactoryImpl factory, org.omg.PortableServer.POA factoryPOA, Logger allLoggers)
           
 
Method Summary
 void doRecovery()
           
 void enableLogging(org.apache.avalon.framework.logger.Logger logger)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecoveryManager

public RecoveryManager(org.omg.CORBA.ORB orb,
                       EventChannelFactoryImpl factory,
                       org.omg.PortableServer.POA factoryPOA,
                       Logger allLoggers)
Method Detail

enableLogging

public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
Specified by:
enableLogging in interface org.apache.avalon.framework.logger.LogEnabled

doRecovery

public void doRecovery()