JavaTM 2 Platform
Standard Ed. 6

javax.rmi.CORBA
接口 Tie

所有超级接口:
InvokeHandler

public interface Tie
extends InvokeHandler

定义所有 RMI-IIOP 服务器端 tie 必须实现的方法。


方法摘要
 void deactivate()
          取消激活此 tie 表示的目标对象。
 Remote getTarget()
          返回此 tie 的目标。
 ORB orb()
          返回此 tie 的 ORB。
 void orb(ORB orb)
          设置此 tie 的 ORB。
 void setTarget(Remote target)
          由 Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote) 调用以设置此 tie 的目标。
 Object thisObject()
          返回此 tie 表示的目标对象的对象引用。
 
从接口 org.omg.CORBA.portable.InvokeHandler 继承的方法
_invoke
 

方法详细信息

thisObject

Object thisObject()
返回此 tie 表示的目标对象的对象引用。

返回:
此目标对象的对象引用。

deactivate

void deactivate()
                throws NoSuchObjectException
取消激活此 tie 表示的目标对象。

抛出:
NoSuchObjectException

orb

ORB orb()
返回此 tie 的 ORB。

返回:
ORB。

orb

void orb(ORB orb)
设置此 tie 的 ORB。

参数:
orb - 该 ORB。

setTarget

void setTarget(Remote target)
Util.registerTarget(javax.rmi.CORBA.Tie, java.rmi.Remote) 调用以设置此 tie 的目标。

参数:
target - 用作此 tie 的目标的对象。

getTarget

Remote getTarget()
返回此 tie 的目标。

返回:
该目标。

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策