| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
getCodebase(Class clz) Delegation call for Util#getCodebase |
Tie |
Delegation call for Util#getTie |
boolean |
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 |
readAny(InputStream in) Delegation call for Util#readAny |
void |
registerTarget(Tie tie, Remote target) Delegation call for Util#registerTarget |
void |
unexportObject(Remote target) Delegation call for Util#unexportObject |
RemoteException |
wrapException(Throwable obj) Delegation call for Util#wrapException |
void |
writeAbstractObject(OutputStream out, Object obj) Delegation call for Util#writeAbstractObject |
void |
writeAny(OutputStream out, Object obj) Delegation call for Util#writeAny |
void |
writeRemoteObject(OutputStream out, Object obj) Delegation call for Util#writeRemoteObject |
Method Detail |
---|
public Object copyObject(Object obj, ORB orb) throws RemoteException
obj
orb
RemoteException
public Object[] copyObjects(Object[] obj, ORB orb) throws RemoteException
obj
orb
RemoteException
public ValueHandler createValueHandler()
public String getCodebase(Class clz)
clz
public Tie getTie(Remote target)
target
public boolean isLocal(Stub stub) throws RemoteException
stub
RemoteException
public Class loadClass(String className, String remoteCodebase, ClassLoader loader) throws ClassNotFoundException
className
remoteCodebase
loader
ClassNotFoundException
public RemoteException mapSystemException(SystemException ex)
ex
public Object readAny(InputStream in)
in
public void registerTarget(Tie tie, Remote target)
tie
target
public void unexportObject(Remote target) throws NoSuchObjectException
target
NoSuchObjectException
public RemoteException wrapException(Throwable obj)
obj
public void writeAbstractObject(OutputStream out, Object obj)
out
obj
public void writeAny(OutputStream out, Object obj)
out
obj
public void writeRemoteObject(OutputStream out, Object obj)
out
obj
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |