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, savegetFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogequals, getRef, hashCode, toString, toStubfinalize, getClass, notify, notifyAll, wait, wait, waitgetAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, savepublic 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 RemotePropertyRepositoryException - on repository errorsRemoteException - on RMI errorspublic Value[] getValues() throws RepositoryException, RemoteException
Property.getValues() method.getValues in interface RemotePropertyRepositoryException - on repository errorsRemoteException - on RMI errorspublic void setValue(Value value) throws RepositoryException, RemoteException
Property.setValue(Value)
method.setValue in interface RemotePropertyvalue - property valueRepositoryException - on repository errorsRemoteException - on RMI errorspublic void setValue(Value[] values) throws RepositoryException, RemoteException
Property.setValue(Value[])
method.setValue in interface RemotePropertyvalues - property valuesRepositoryException - on repository errorsRemoteException - on RMI errorspublic long getLength()
throws RepositoryException,
RemoteException
Property.getLength()
method.getLength in interface RemotePropertyRepositoryException - on repository errorsRemoteException - on RMI errorspublic long[] getLengths()
throws RepositoryException,
RemoteException
Property.getLengths()
method.getLengths in interface RemotePropertyRepositoryException - on repository errorsRemoteException - on RMI errorspublic RemotePropertyDefinition getDefinition() throws RepositoryException, RemoteException
Property.getDefinition()
method.getDefinition in interface RemotePropertyRepositoryException - on repository errorsRemoteException - on RMI errorspublic int getType()
throws RepositoryException,
RemoteException
Property.getType() method.getType in interface RemotePropertyRepositoryException - on repository errorsRemoteException - on RMI errorsCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.