|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
public interface PortableRemoteObjectDelegate
支持 PortableRemoteObject 中方法實作的委託。委託是類別的單一實例,它實作此介面並提供 javax.rmi.PortableRemoteObject 的所有方法的替代實作。
通過提供委託的類別名稱作為 javax.rmi.CORBA.PortableRemoteObjectClass 系統屬性的值啟用委託。
PortableRemoteObject| 方法摘要 | |
|---|---|
void |
connect(Remote target,
Remote source)
PortableRemoteObject.connect(java.rmi.Remote, java.rmi.Remote) 的委託調用。 |
void |
exportObject(Remote obj)
PortableRemoteObject.exportObject(java.rmi.Remote) 的委託調用。 |
Object |
narrow(Object narrowFrom,
Class narrowTo)
PortableRemoteObject.narrow(java.lang.Object, java.lang.Class) 的委託調用。 |
Remote |
toStub(Remote obj)
PortableRemoteObject.toStub(java.rmi.Remote) 的委託調用。 |
void |
unexportObject(Remote obj)
PortableRemoteObject.unexportObject(java.rmi.Remote) 的委託調用。 |
| 方法詳細資訊 |
|---|
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. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。