public class ServerProperty extends ServerItem implements RemoteProperty
Property
interface. This class makes a local property available as an RMI service
using the
RemoteProperty
interface.Property
,
RemoteProperty
,
Serialized Formref
Constructor and Description |
---|
ServerProperty(Property property,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local property.
|
Modifier and Type | Method and Description |
---|---|
RemotePropertyDefinition |
getDefinition()
Remote version of the
Property.getDefinition()
method. |
long |
getLength()
Remote version of the
Property.getLength()
method. |
long[] |
getLengths()
Remote version of the
Property.getLengths()
method. |
int |
getType()
Remote version of the
Property.getType() method. |
Value |
getValue()
Remote version of the
Property.getValue() method. |
Value[] |
getValues()
Remote version of the
Property.getValues() method. |
void |
setValue(Value value)
Remote version of the
Property.setValue(Value)
method. |
void |
setValue(Value[] values)
Remote version of the
Property.setValue(Value[])
method. |
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
equals, getRef, hashCode, toString, toStub
finalize, getClass, notify, notifyAll, wait, wait, wait
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
public ServerProperty(Property property, RemoteAdapterFactory factory) throws RemoteException
property
- local propertyfactory
- remote adapter factoryRemoteException
- on RMI errorspublic Value getValue() throws RepositoryException, RemoteException
Property.getValue()
method.getValue
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic Value[] getValues() throws RepositoryException, RemoteException
Property.getValues()
method.getValues
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic void setValue(Value value) throws RepositoryException, RemoteException
Property.setValue(Value)
method.setValue
in interface RemoteProperty
value
- property valueRepositoryException
- on repository errorsRemoteException
- on RMI errorspublic void setValue(Value[] values) throws RepositoryException, RemoteException
Property.setValue(Value[])
method.setValue
in interface RemoteProperty
values
- property valuesRepositoryException
- on repository errorsRemoteException
- on RMI errorspublic long getLength() throws RepositoryException, RemoteException
Property.getLength()
method.getLength
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic long[] getLengths() throws RepositoryException, RemoteException
Property.getLengths()
method.getLengths
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic RemotePropertyDefinition getDefinition() throws RepositoryException, RemoteException
Property.getDefinition()
method.getDefinition
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorspublic int getType() throws RepositoryException, RemoteException
Property.getType()
method.getType
in interface RemoteProperty
RepositoryException
- on repository errorsRemoteException
- on RMI errorsCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.