1 7 15 16 package javax.rmi.CORBA; 17 18 import java.io.Serializable ; 19 import java.rmi.Remote ; 20 import java.rmi.RemoteException ; 21 import javax.rmi.CORBA.Tie ; 22 import javax.rmi.CORBA.ValueHandler ; 23 import org.omg.CORBA.ORB ; 24 import org.omg.CORBA.portable.InputStream ; 25 import org.omg.CORBA.portable.OutputStream ; 26 import org.omg.CORBA.SystemException ; 27 28 41 public interface UtilDelegate { 42 43 46 RemoteException mapSystemException(SystemException ex); 47 48 51 void writeAny(OutputStream out, Object obj); 52 53 56 java.lang.Object readAny(InputStream in); 57 58 61 void writeRemoteObject(OutputStream out, Object obj); 62 63 66 void writeAbstractObject(OutputStream out, Object obj); 67 68 71 void registerTarget(Tie tie, Remote target); 72 73 76 void unexportObject(Remote target) throws java.rmi.NoSuchObjectException ; 77 78 81 Tie getTie(Remote target); 82 83 86 ValueHandler createValueHandler(); 87 88 91 String getCodebase(Class clz); 92 93 96 Class loadClass(String className, String remoteCodebase, ClassLoader loader) 97 throws ClassNotFoundException ; 98 99 102 boolean isLocal(Stub stub) throws RemoteException ; 103 104 107 RemoteException wrapException(Throwable obj); 108 109 112 Object copyObject(Object obj, ORB orb) throws RemoteException ; 113 114 117 Object [] copyObjects(Object [] obj, ORB orb) throws RemoteException ; 118 119 } 120 121 | Popular Tags |