Package org.apache.jackrabbit.rmi.server
Class ServerPropertyDefinition
- 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.ServerItemDefinition
-
- org.apache.jackrabbit.rmi.server.ServerPropertyDefinition
-
- All Implemented Interfaces:
Serializable,Remote,RemoteItemDefinition,RemotePropertyDefinition
@Deprecated public class ServerPropertyDefinition extends ServerItemDefinition implements RemotePropertyDefinition
Deprecated.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
PropertyDefinitioninterface. This class makes a local property definition available as an RMI service using theRemotePropertyDefinitioninterface.
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerPropertyDefinition(PropertyDefinition def, RemoteAdapterFactory factory)Deprecated.Creates a remote adapter for the given local property definition.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String[]getAvailableQueryOperators()Deprecated.Remote version of thePropertyDefinition.getAvailableQueryOperators()method.Value[]getDefaultValues()Deprecated.Remote version of thePropertyDefinition.getDefaultValues()method.intgetRequiredType()Deprecated.Remote version of thePropertyDefinition.getRequiredType()method.String[]getValueConstraints()Deprecated.Remote version of thePropertyDefinition.getValueConstraints()method.booleanisFullTextSearchable()Deprecated.Remote version of thePropertyDefinition.isFullTextSearchable()method.booleanisMultiple()Deprecated.Remote version of thePropertyDefinition.isMultiple()method.booleanisQueryOrderable()Deprecated.Remote version of thePropertyDefinition.isQueryOrderable()method.-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
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.RemoteItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
-
-
-
Constructor Detail
-
ServerPropertyDefinition
public ServerPropertyDefinition(PropertyDefinition def, RemoteAdapterFactory factory) throws RemoteException
Deprecated.Creates a remote adapter for the given local property definition.- Parameters:
def- local property definitionfactory- remote adapter factory- Throws:
RemoteException- on RMI errors
-
-
Method Detail
-
getRequiredType
public int getRequiredType() throws RemoteExceptionDeprecated.Remote version of thePropertyDefinition.getRequiredType()method.- Specified by:
getRequiredTypein interfaceRemotePropertyDefinition- Returns:
- required type
- Throws:
RemoteException- on RMI errors
-
getValueConstraints
public String[] getValueConstraints() throws RemoteException
Deprecated.Remote version of thePropertyDefinition.getValueConstraints()method.- Specified by:
getValueConstraintsin interfaceRemotePropertyDefinition- Returns:
- value constraints
- Throws:
RemoteException- on RMI errors
-
getDefaultValues
public Value[] getDefaultValues() throws RemoteException
Deprecated.Remote version of thePropertyDefinition.getDefaultValues()method.- Specified by:
getDefaultValuesin interfaceRemotePropertyDefinition- Returns:
- default values
- Throws:
RemoteException- on RMI errors
-
isMultiple
public boolean isMultiple() throws RemoteExceptionDeprecated.Remote version of thePropertyDefinition.isMultiple()method.- Specified by:
isMultiplein interfaceRemotePropertyDefinition- Returns:
trueif the property is multi-valued,falseotherwise- Throws:
RemoteException- on RMI errors
-
getAvailableQueryOperators
public String[] getAvailableQueryOperators() throws RemoteException
Deprecated.Remote version of thePropertyDefinition.getAvailableQueryOperators()method.- Specified by:
getAvailableQueryOperatorsin interfaceRemotePropertyDefinition- Returns:
- a String[]
- Throws:
RemoteException- on RMI errors
-
isFullTextSearchable
public boolean isFullTextSearchable() throws RemoteExceptionDeprecated.Remote version of thePropertyDefinition.isFullTextSearchable()method.- Specified by:
isFullTextSearchablein interfaceRemotePropertyDefinition- Returns:
- a boolean
- Throws:
RemoteException- on RMI errors
-
isQueryOrderable
public boolean isQueryOrderable() throws RemoteExceptionDeprecated.Remote version of thePropertyDefinition.isQueryOrderable()method.- Specified by:
isQueryOrderablein interfaceRemotePropertyDefinition- Returns:
- a boolean
- Throws:
RemoteException- on RMI errors
-
-