com.arjuna.orbportability.recovery
Class RebindFactory

java.lang.Object
  extended bycom.arjuna.orbportability.recovery.RebindFactory

public class RebindFactory
extends java.lang.Object

Rebind factory takes a stringified IOR or an object name and returns the relevant object recovery class to use. If none has been provided via java properties, then the default one will be returned.

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

Constructor Summary
RebindFactory()
           
 
Method Summary
static IORRecovery getRecovery(ORB orb, java.lang.String name, org.omg.CORBA.Object obj)
          Given the name of the object (some application specific identifier) or the object reference, we look up a recovery mechanism for the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RebindFactory

public RebindFactory()
Method Detail

getRecovery

public static IORRecovery getRecovery(ORB orb,
                                      java.lang.String name,
                                      org.omg.CORBA.Object obj)
                               throws org.omg.CORBA.SystemException
Given the name of the object (some application specific identifier) or the object reference, we look up a recovery mechanism for the object. It is valid for either the name or the object reference to be null in this call, but not both.

Throws:
org.omg.CORBA.SystemException