javax.rmi.CORBA
Class Util

java.lang.Object
  extended by javax.rmi.CORBA.Util

public class Util
extends Object


Method Summary
static Object copyObject(Object o, ORB orb)
           
static Object[] copyObjects(Object[] objs, ORB orb)
           
static ValueHandler createValueHandler()
           
static String getCodebase(Class clz)
           
static Tie getTie(Remote t)
           
static boolean isLocal(Stub s)
           
static Class loadClass(String name, String codebase, ClassLoader loader)
           
static RemoteException mapSystemException(SystemException e)
           
static Object readAny(InputStream is)
           
static void registerTarget(Tie tie, Remote target)
           
static void unexportObject(Remote t)
           
static RemoteException wrapException(Throwable e)
           
static void writeAbstractObject(OutputStream os, Object o)
           
static void writeAny(OutputStream os, Object o)
           
static void writeRemoteObject(OutputStream os, Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyObject

public static Object copyObject(Object o,
                                ORB orb)
                         throws RemoteException
Throws:
RemoteException

copyObjects

public static Object[] copyObjects(Object[] objs,
                                   ORB orb)
                            throws RemoteException
Throws:
RemoteException

createValueHandler

public static ValueHandler createValueHandler()

getCodebase

public static String getCodebase(Class clz)

getTie

public static Tie getTie(Remote t)

isLocal

public static boolean isLocal(Stub s)
                       throws RemoteException
Throws:
RemoteException

loadClass

public static Class loadClass(String name,
                              String codebase,
                              ClassLoader loader)
                       throws ClassNotFoundException
Throws:
ClassNotFoundException

mapSystemException

public static RemoteException mapSystemException(SystemException e)

readAny

public static Object readAny(InputStream is)

registerTarget

public static void registerTarget(Tie tie,
                                  Remote target)

unexportObject

public static void unexportObject(Remote t)
                           throws NoSuchObjectException
Throws:
NoSuchObjectException

wrapException

public static RemoteException wrapException(Throwable e)

writeAbstractObject

public static void writeAbstractObject(OutputStream os,
                                       Object o)

writeAny

public static void writeAny(OutputStream os,
                            Object o)

writeRemoteObject

public static void writeRemoteObject(OutputStream os,
                                     Object o)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.