Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortableRemoteObjectDelegate
Supports delegation for method implementations in PortableRemoteObject.
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.PortableRemoteObject.
Delegates are enabled by providing the delegate's class name as the
value of the
javax.rmi.CORBA.PortableRemoteObjectClass
system property.
PortableRemoteObject| Method Summary | |
|---|---|
void |
connect(Remote target,
Remote source)
Delegation call for PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote). |
void |
exportObject(Remote obj)
Delegation call for PortableRemoteObject.exportObject(java.rmi.Remote). |
Object |
narrow(Object narrowFrom,
Class narrowTo)
Delegation call for PortableRemoteObject.narrow(java.lang.Object, java.lang.Class). |
Remote |
toStub(Remote obj)
Delegation call for PortableRemoteObject.toStub(java.rmi.Remote). |
void |
unexportObject(Remote obj)
Delegation call for PortableRemoteObject.unexportObject(java.rmi.Remote). |
| Method Detail |
|---|
void exportObject(Remote obj)
throws RemoteException
PortableRemoteObject.exportObject(java.rmi.Remote).
RemoteException
Remote toStub(Remote obj)
throws NoSuchObjectException
PortableRemoteObject.toStub(java.rmi.Remote).
NoSuchObjectException
void unexportObject(Remote obj)
throws NoSuchObjectException
PortableRemoteObject.unexportObject(java.rmi.Remote).
NoSuchObjectException
Object narrow(Object narrowFrom,
Class narrowTo)
throws ClassCastException
PortableRemoteObject.narrow(java.lang.Object, java.lang.Class).
ClassCastException
void connect(Remote target,
Remote source)
throws RemoteException
PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote).
RemoteException
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.