Package org.apache.jackrabbit.rmi.server
Class ServerProperty
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.apache.jackrabbit.rmi.server.ServerObject
-
- org.apache.jackrabbit.rmi.server.ServerItem
-
- org.apache.jackrabbit.rmi.server.ServerProperty
-
- All Implemented Interfaces:
Serializable
,Remote
,RemoteItem
,RemoteProperty
@Deprecated(forRemoval=true) public class ServerProperty extends ServerItem implements RemoteProperty
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 adapter for the JCR
Property
interface. This class makes a local property available as an RMI service using theRemoteProperty
interface.- See Also:
Property
,RemoteProperty
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerProperty(Property property, RemoteAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local property.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RemotePropertyDefinition
getDefinition()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getDefinition()
method.long
getLength()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getLength()
method.long[]
getLengths()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getLengths()
method.int
getType()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getType()
method.Value
getValue()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getValue()
method.Value[]
getValues()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getValues()
method.void
setValue(Value value)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.setValue(Value)
method.void
setValue(Value[] values)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.setValue(Value[])
method.-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerItem
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteItem
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
-
-
-
-
Constructor Detail
-
ServerProperty
public ServerProperty(Property property, RemoteAdapterFactory factory) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local property.- Parameters:
property
- local propertyfactory
- remote adapter factory- Throws:
RemoteException
- on RMI errors
-
-
Method Detail
-
getValue
public Value getValue() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getValue()
method.- Specified by:
getValue
in interfaceRemoteProperty
- Returns:
- property value
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getValues
public Value[] getValues() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getValues()
method.- Specified by:
getValues
in interfaceRemoteProperty
- Returns:
- property values
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
setValue
public void setValue(Value value) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.setValue(Value)
method.- Specified by:
setValue
in interfaceRemoteProperty
- Parameters:
value
- property value- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
setValue
public void setValue(Value[] values) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.setValue(Value[])
method.- Specified by:
setValue
in interfaceRemoteProperty
- Parameters:
values
- property values- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getLength
public long getLength() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getLength()
method.- Specified by:
getLength
in interfaceRemoteProperty
- Returns:
- value length
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getLengths
public long[] getLengths() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getLengths()
method.- Specified by:
getLengths
in interfaceRemoteProperty
- Returns:
- value lengths
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getDefinition
public RemotePropertyDefinition getDefinition() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getDefinition()
method.- Specified by:
getDefinition
in interfaceRemoteProperty
- Returns:
- property definition
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getType
public int getType() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theProperty.getType()
method.- Specified by:
getType
in interfaceRemoteProperty
- Returns:
- property type
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
-