Interface RemoteProperty

  • All Superinterfaces:
    Remote, RemoteItem
    All Known Implementing Classes:
    ServerProperty

    @Deprecated(forRemoval=true)
    public interface RemoteProperty
    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 Property interface. Used by the ServerProperty and ClientProperty adapters to provide transparent RMI access to remote properties.

    The methods in this interface are documented only with a reference to a corresponding Property method. The remote object will simply forward the method call to the underlying Property instance. Argument and return values, as well as possible exceptions, are copied over the network. Complex PropertyDef return values are returned as remote references to the corresponding RemotePropertyDefinition interface. RMI errors are signaled with RemoteExceptions.

    Note that only the generic getValue and setValue methods are included in this interface. Clients should implement the type-specific value getters and setters wrapping using the generic 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:
    Property, ClientProperty, ServerProperty