Novell exteNd Messaging Platform 5.1

javax.rmi.CORBA
Interface UtilDelegate


public interface UtilDelegate

The implementation delegate class for javax.rmi.CORBA.Util must implement the following interface for per-class delegation.


Method Summary
 Object copyObject(Object obj, ORB orb)
           
 Object[] copyObjects(Object[] obj, ORB orb)
           
 ValueHandler createValueHandler()
           
 String getCodebase(Class clz)
           
 Tie getTie(Remote target)
           
 boolean isLocal(Stub stub)
           
 Class loadClass(String className, String remoteCodebase, ClassLoader loader)
           
 RemoteException mapSystemException(SystemException ex)
           
 Object readAny(InputStream in)
           
 void registerTarget(Tie tie, Remote target)
           
 void unexportObject(Remote target)
           
 RemoteException wrapException(Throwable obj)
           
 void writeAbstractObject(OutputStream out, Object obj)
           
 void writeAny(OutputStream out, Object obj)
           
 void writeRemoteObject(OutputStream out, Object obj)
           
 

Method Detail

mapSystemException

public RemoteException mapSystemException(SystemException ex)

writeAny

public void writeAny(OutputStream out,
                     Object obj)

readAny

public Object readAny(InputStream in)

writeRemoteObject

public void writeRemoteObject(OutputStream out,
                              Object obj)

writeAbstractObject

public void writeAbstractObject(OutputStream out,
                                Object obj)

registerTarget

public void registerTarget(Tie tie,
                           Remote target)

unexportObject

public void unexportObject(Remote target)

getTie

public Tie getTie(Remote target)

createValueHandler

public ValueHandler createValueHandler()

getCodebase

public String getCodebase(Class clz)

loadClass

public Class loadClass(String className,
                       String remoteCodebase,
                       ClassLoader loader)
                throws ClassNotFoundException
Throws:
ClassNotFoundException

isLocal

public boolean isLocal(Stub stub)
                throws RemoteException
Throws:
RemoteException

wrapException

public RemoteException wrapException(Throwable obj)

copyObject

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

copyObjects

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

Novell exteNd Messaging Platform 5.1

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.