Interface RemoteNode

  • All Superinterfaces:
    Remote, RemoteItem
    All Known Subinterfaces:
    RemoteVersion, RemoteVersionHistory
    All Known Implementing Classes:
    ServerNode, ServerVersion, ServerVersionHistory

    @Deprecated(forRemoval=true)
    public interface RemoteNode
    extends RemoteItem
    Deprecated, for removal: This API element is subject to removal in a future version.
    RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.

    Remote version of the JCR Node interface. Used by the ServerNode and ClientNode adapters to provide transparent RMI access to remote nodes.

    The methods in this interface are documented only with a reference to a corresponding Node method. The remote object will simply forward the method call to the underlying Node instance. Argument and return values, as well as possible exceptions, are copied over the network. Complex return values (like Nodes and Properties) are returned as remote references to the corresponding remote interfaces. Iterator values are transmitted as object arrays. RMI errors are signaled with RemoteExceptions.

    Note that only two generic setProperty methods are included in this interface. Clients should implement the type-specific setProperty methods by wrapping the argument values into generic Value objects and calling the generic setProperty methods. Note also that the Value objects must be serializable and implemented using classes available on both the client and server side. The SerialValueFactory class provides two convenience methods to satisfy these requirements.

    See Also:
    Node, ClientNode, ServerNode