com.arjuna.orbportability.recovery
Class DefaultIORRecovery

java.lang.Object
  extended bycom.arjuna.orbportability.recovery.DefaultIORRecovery
All Implemented Interfaces:
IORRecovery

public class DefaultIORRecovery
extends java.lang.Object
implements IORRecovery

The default recovery mechanism does the following: (i) if we are a POA based ORB then do nothing since the reference should have been created as persistent. (ii) call Services with the binding protocols in the following order: NAME_SERVICE, FILE, NAMED_CONNECT, BIND_CONNECT, CONFIGURATION_FILE, RESOLVE_INITIAL_REFERENCES

Since:
JTS 2.0.
Version:
$Id: DefaultIORRecovery.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark@arjuna.com)

Constructor Summary
DefaultIORRecovery()
           
 
Method Summary
 org.omg.CORBA.Object recover(ORB orb, java.lang.String name, org.omg.CORBA.Object obj, java.lang.Object[] params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIORRecovery

public DefaultIORRecovery()
Method Detail

recover

public org.omg.CORBA.Object recover(ORB orb,
                                    java.lang.String name,
                                    org.omg.CORBA.Object obj,
                                    java.lang.Object[] params)
                             throws org.omg.CORBA.SystemException
Specified by:
recover in interface IORRecovery
Throws:
org.omg.CORBA.SystemException