com.siviam.bobup.recovery
Class Recoverer

java.lang.Object
  extended bycom.siviam.bobup.recovery.Recoverer

public class Recoverer
extends java.lang.Object

Recovers the business object.

Recovery is not configured to run in a separate thread, because the number of objects to be recovered is miniscule compared to the number of objects to be backed up. Hopefully, this is indeed the case, or else your backup strategy is not working!

Author:
vishnu

Method Summary
static Recoverer getInstance()
           
 void recover(IBusinessObjectDescriptor bizObjDescriptor)
          Recovers the specified business object with the given descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Recoverer getInstance()

recover

public void recover(IBusinessObjectDescriptor bizObjDescriptor)
             throws java.lang.Exception
Recovers the specified business object with the given descriptor. For the current version, the business object descriptor must point to a zip file containing the various parts. Each part must be handled by a handler.

This method is inherently thread-safe but is synchronized nonetheless each part recovery may need to be synchronized. With this method synchronized, it is not necessary for the application integrator to worry about thread safety in downstream code, if the recovery is being performed synchronously.

Throws:
java.lang.Exception


Copyright © 2001-2006. All Rights Reserved.