Initial References Service (IRS)

The InitialReferencesService is a locality constrained CORBA Object that can be retrieved from the ORB using the ORB.resolve_initial_references method with "InitialReferencesService" as the argument.

package com.sssw.jbroker.api.bootstrap;
 
public interface InitialReferencesService extends org.omg.CORBA.Object
{
    /**
     * Get the InitialReferences interface for the given Object Reference.
     * The host and port of the initialization agent are determined using
     * the given object reference.
    */
    InitialReferences getInitialReferences(org.omg.CORBA.Object object);

    /**
     * Get the InitialReferences interface for the given IIOP URL. The IIOP
     * URLs are expressed as iiopboot://:, 
     * or iiopboot://::.
     */
    InitialReferences getInitialReferences(String iiopURL);

    /**
     * Get the InitialReferences interface for the given host, port.
     */
    InitialReferences getInitialReferences(String host, int port);

    /**
     * Bind an Object Refernce in the local InitialReferences Registry.
     * If the local flag is not specified, the object is visible to other
     * processes via the bootstrap protocol.
     */
    void bind(String name, org.omg.CORBA.Object object, boolean local);
}


Copyright © 2003, 2004 Novell, Inc. All rights reserved. Copyright © 2001, 2002, 2003 SilverStream Software, LLC. All rights reserved.