public interface Remote
Remote
介面的方法可以从非本地虚拟机调用。任何对象,是一个远程对象必须直接或间接地实现此接口。在“远程接口”的规定,只有一个方法,延伸
java.rmi.Remote
可远程接口。
实现类可以实现任意数量的远程接口,并可以扩展其他远程实现类。RMI提供了一些方便的远程对象的实现类可以扩展为远程对象的创建。这些类是java.rmi.server.UnicastRemoteObject
和java.rmi.activation.Activatable
。
基于RMI的完整细节,看到RMI Specification描述RMI API和系统的。
UnicastRemoteObject
,
Activatable
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.