Name

Util

Synopsis

The Util interface provides a set of static utility methods that can be used by client stubs and server ties.

public class Util {
// No Constructor
                  // Public Class Methods
   public static Object copyObject(Object obj, 
        org.omg.CORBA.ORB orb) throws java.rmi.RemoteException;  
   public static Object[] copyObjects(
        Object[] obj, 
        org.omg.CORBA.ORB orb) throws java.rmi.RemoteException;  
   public static ValueHandler createValueHandler();  
   public static String getCodebase( Class clz);  
   public static Tie getTie( java.rmi.Remote target);  
   public static boolean isLocal(
        Stub stub) throws java.rmi.RemoteException;  
   public static Class loadClass(String className, 
        String remoteCodebase, 
        ClassLoader loader) throws ClassNotFoundException;  
   public static java.rmi.RemoteException mapSystemException(
        org.omg.CORBA.SystemException ex);  
   public static Object readAny(
        org.omg.CORBA.portable.InputStream in);  
   public static void registerTarget(Tie tie, 
        java.rmi.Remote target);  
   public static void unexportObject(
        java.rmi.Remote target) throws java.rmi.NoSuchObjectException;  
   public static java.rmi.RemoteException wrapException(
        Throwable orig);  
   public static void writeAbstractObject(
        org.omg.CORBA.portable.OutputStream out, 
        Object obj);  
   public static void writeAny(
        org.omg.CORBA.portable.OutputStream out, 
        Object obj);  
   public static void writeRemoteObject(
        org.omg.CORBA.portable.OutputStream out, 
        Object obj);  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.