org.objectweb.carol.cmi

Class LowerOrb


public class LowerOrb
extends java.lang.Object

Field Summary

static int
DEFAULT_CREG_PORT
static int
REG_ID

Method Summary

static void
exportObject(Remote obj)
static Remote
exportRegistry(Remote obj, int port)
static PortableRemoteObjectDelegate
getPRODelegate()
static Remote
getRegistryStub(String className, String host, int port)
static Remote
toStub(Remote obj)
static void
unexportObject(Remote obj)

Field Details

DEFAULT_CREG_PORT

public static final int DEFAULT_CREG_PORT

Field Value:
1099


REG_ID

public static final int REG_ID

Field Value:
-1027008255

Method Details

exportObject

public static void exportObject(Remote obj)
            throws RemoteException


exportRegistry

public static Remote exportRegistry(Remote obj,
                                    int port)
            throws RemoteException


getPRODelegate

public static PortableRemoteObjectDelegate getPRODelegate()


getRegistryStub

public static Remote getRegistryStub(String className,
                                     String host,
                                     int port)
            throws RemoteException


toStub

public static Remote toStub(Remote obj)
            throws NoSuchObjectException


unexportObject

public static void unexportObject(Remote obj)
            throws NoSuchObjectException