|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.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
public class ServerProperty
Remote adapter for the JCR Property
interface. This class makes a local property available as an RMI service
using the
RemoteProperty
interface.
Property,
RemoteProperty,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Constructor Summary | |
|---|---|
ServerProperty(Property property,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local property. |
|
| Method Summary | |
|---|---|
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. |
| 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, 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 |
|---|
public ServerProperty(Property property,
RemoteAdapterFactory factory)
throws RemoteException
property - local propertyfactory - remote adapter factory
RemoteException - on RMI errors| Method Detail |
|---|
public Value getValue()
throws RepositoryException,
RemoteException
Property.getValue() method.
getValue in interface RemotePropertyRepositoryException - on repository errors
RemoteException - on RMI errors
public Value[] getValues()
throws RepositoryException,
RemoteException
Property.getValues() method.
getValues in interface RemotePropertyRepositoryException - on repository errors
RemoteException - on RMI errors
public void setValue(Value value)
throws RepositoryException,
RemoteException
Property.setValue(Value)
method.
setValue in interface RemotePropertyvalue - property value
RepositoryException - on repository errors
RemoteException - on RMI errors
public void setValue(Value[] values)
throws RepositoryException,
RemoteException
Property.setValue(Value[])
method.
setValue in interface RemotePropertyvalues - property values
RepositoryException - on repository errors
RemoteException - on RMI errors
public long getLength()
throws RepositoryException,
RemoteException
Property.getLength()
method.
getLength in interface RemotePropertyRepositoryException - on repository errors
RemoteException - on RMI errors
public long[] getLengths()
throws RepositoryException,
RemoteException
Property.getLengths()
method.
getLengths in interface RemotePropertyRepositoryException - on repository errors
RemoteException - on RMI errors
public RemotePropertyDefinition getDefinition()
throws RepositoryException,
RemoteException
Property.getDefinition()
method.
getDefinition in interface RemotePropertyRepositoryException - on repository errors
RemoteException - on RMI errors
public int getType()
throws RepositoryException,
RemoteException
Property.getType() method.
getType in interface RemotePropertyRepositoryException - on repository errors
RemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||