|
|||||||||||
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
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 FormField 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 |
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 errorsMethod Detail |
public Value getValue() throws RepositoryException, RemoteException
Property.getValue()
method.
getValue
in interface RemoteProperty
RemoteException
- on RMI errors
RepositoryException
- on repository errorspublic Value[] getValues() throws RepositoryException, RemoteException
Property.getValues()
method.
getValues
in interface RemoteProperty
RepositoryException
- on repository errors
RemoteException
- on RMI errorspublic void setValue(Value value) throws RepositoryException, RemoteException
Property.setValue(Value)
method.
setValue
in interface RemoteProperty
value
- property value
RemoteException
- on RMI errors
RepositoryException
- on repository errorspublic void setValue(Value[] values) throws RepositoryException, RemoteException
Property.setValue(Value[])
method.
setValue
in interface RemoteProperty
values
- property values
RemoteException
- on RMI errors
RepositoryException
- on repository errorspublic long getLength() throws RepositoryException, RemoteException
Property.getLength()
method.
getLength
in interface RemoteProperty
RemoteException
- on RMI errors
RepositoryException
- on repository errorspublic long[] getLengths() throws RepositoryException, RemoteException
Property.getLengths()
method.
getLengths
in interface RemoteProperty
RemoteException
- on RMI errors
RepositoryException
- on repository errorspublic RemotePropertyDefinition getDefinition() throws RepositoryException, RemoteException
Property.getDefinition()
method.
getDefinition
in interface RemoteProperty
RemoteException
- on RMI errors
RepositoryException
- on repository errorspublic int getType() throws RepositoryException, RemoteException
Property.getType()
method.
getType
in interface RemoteProperty
RepositoryException
- on repository errors
RemoteException
- on RMI errors
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |