API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.rmi.CORBA. Util View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      Util
Implements
Subclasses
Description
public class Util
Provides utility methods that can be used by stubs and ties to perform common operations.
See also:   
Constructors
private Util ()
Methods
Hide/Show inherited methods
publicstatic Object copyObject (Object obj, ORB orb) throws RemoteException
  Copies or connects an object.
publicstatic Object copyObjects (Object obj, ORB orb) throws RemoteException
  Copies or connects an array of objects.
publicstatic ValueHandler createValueHandler ()
  Returns a singleton instance of a class that implements the ValueHandler interface.
publicstatic String getCodebase (Class clz)
  Returns the codebase, if any, for the given class.
publicstatic Tie getTie (Remote target)
  Returns the tie (if any) for a given target object.
publicstatic boolean isLocal (Stub stub) throws RemoteException
  The isLocal method has the same semantics as the ObjectImpl._is_local method, except that it can throw a RemoteException.
publicstatic Class loadClass (String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException
  Returns a class instance for the specified class.
publicstatic RemoteException mapSystemException (SystemException ex)
  Maps a SystemException to a RemoteException.
publicstatic Object readAny (InputStream in)
  Reads a java.lang.Object as a CORBA any.
publicstatic void registerTarget (Tie tie, Remote target)
  Registers a target for a tie.
publicstatic void unexportObject (Remote target) throws NoSuchObjectException
  Removes the associated tie from an internal table and calls Tie.deactivate() to deactivate the object.
publicstatic RemoteException wrapException (Throwable orig)
  Wraps an exception thrown by an implementation method.
publicstatic void writeAbstractObject (OutputStream out, Object obj)
  Writes a java.lang.Object as either a value or a CORBA Object.
publicstatic void writeAny (OutputStream out, Object obj)
  Writes any java.lang.Object as a CORBA any.
publicstatic void writeRemoteObject (OutputStream out, Object obj)
  Writes a java.lang.Object as a CORBA Object.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar