This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.rmi.CORBA
interface UtilDelegate


public interface UtilDelegate

Supports delegation for method implementations in {@link Util}. The delegate is a singleton instance of a class that implements this interface and provides a replacement implementation for all the methods of javax.rmi.CORBA.Util. Delegation is enabled by providing the delegate's class name as the value of the javax.rmi.CORBA.UtilClass system property.


Method Summary
 Object
copyObject(Object obj, ORB orb)

          Delegation call for Util#copyObject.
 Object[]
copyObjects(Object[] obj, ORB orb)

          Delegation call for Util#copyObjects.
 ValueHandler

          Delegation call for Util#createValueHandler.
 String

          Delegation call for Util#getCodebase.
 Tie
getTie(Remote target)

          Delegation call for Util#getTie.
 boolean
isLocal(Stub stub)

          Delegation call for Util#isLocal.
 Class
loadClass(String className, String remoteCodebase, ClassLoader loader)

          Delegation call for Util#loadClass.
 RemoteException

          Delegation call for Util#mapSystemException.
 Object

          Delegation call for Util#readAny.
 void
registerTarget(Tie tie, Remote target)

          Delegation call for Util#registerTarget.
 void

          Delegation call for Util#unexportObject.
 RemoteException

          Delegation call for Util#wrapException.
 void

          Delegation call for Util#writeAbstractObject.
 void

          Delegation call for Util#writeAny.
 void

          Delegation call for Util#writeRemoteObject.
 

Method Detail

copyObject

public Object copyObject(Object obj,
                         ORB orb)
                  throws RemoteException
Delegation call for {@link Util#copyObject}.

Parameters:
obj
orb
Throws:
RemoteException

copyObjects

public Object[] copyObjects(Object[] obj,
                            ORB orb)
                     throws RemoteException
Delegation call for {@link Util#copyObjects}.

Parameters:
obj
orb
Throws:
RemoteException

createValueHandler

public ValueHandler createValueHandler()
Delegation call for {@link Util#createValueHandler}.


getCodebase

public String getCodebase(Class clz)
Delegation call for {@link Util#getCodebase}.

Parameters:
clz

getTie

public Tie getTie(Remote target)
Delegation call for {@link Util#getTie}.

Parameters:
target

isLocal

public boolean isLocal(Stub stub)
                throws RemoteException
Delegation call for {@link Util#isLocal}.

Parameters:
stub
Throws:
RemoteException

loadClass

public Class loadClass(String className,
                       String remoteCodebase,
                       ClassLoader loader)
                throws ClassNotFoundException
Delegation call for {@link Util#loadClass}.

Parameters:
className
remoteCodebase
loader
Throws:
ClassNotFoundException

mapSystemException

public RemoteException mapSystemException(SystemException ex)
Delegation call for {@link Util#mapSystemException}.

Parameters:
ex

readAny

public Object readAny(InputStream in)
Delegation call for {@link Util#readAny}.

Parameters:
in

registerTarget

public void registerTarget(Tie tie,
                           Remote target)
Delegation call for {@link Util#registerTarget}.

Parameters:
tie
target

unexportObject

public void unexportObject(Remote target)
                    throws NoSuchObjectException
Delegation call for {@link Util#unexportObject}.

Parameters:
target
Throws:
NoSuchObjectException

wrapException

public RemoteException wrapException(Throwable obj)
Delegation call for {@link Util#wrapException}.

Parameters:
obj

writeAbstractObject

public void writeAbstractObject(OutputStream out,
                                Object obj)
Delegation call for {@link Util#writeAbstractObject}.

Parameters:
out
obj

writeAny

public void writeAny(OutputStream out,
                     Object obj)
Delegation call for {@link Util#writeAny}.

Parameters:
out
obj

writeRemoteObject

public void writeRemoteObject(OutputStream out,
                              Object obj)
Delegation call for {@link Util#writeRemoteObject}.

Parameters:
out
obj


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.