Package org.apache.jackrabbit.rmi.server
Class ServerNodeDefinition
- 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.ServerNodeDefinition
-
- All Implemented Interfaces:
Serializable
,Remote
,RemoteItemDefinition
,RemoteNodeDefinition
@Deprecated(forRemoval=true) public class ServerNodeDefinition extends ServerItemDefinition implements RemoteNodeDefinition
Deprecated, for removal: This API element is subject to removal in a future version.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
NodeDefinition
interface. This class makes a local node definition available as an RMI service using theRemoteNodeDefinition
interface.- See Also:
NodeDefinition
,RemoteNodeDefinition
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerNodeDefinition(NodeDefinition def, RemoteAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local node definition.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
allowsSameNameSiblings()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.allowSameNameSibs()
method.RemoteNodeType
getDefaultPrimaryType()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getDefaultPrimaryType()
method.String
getDefaultPrimaryTypeName()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getDefaultPrimaryTypeName()
method.String[]
getRequiredPrimaryTypeNames()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getRequiredPrimaryTypeNames()
method.RemoteNodeType[]
getRequiredPrimaryTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getRequiredPrimaryTypes()
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, 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
-
ServerNodeDefinition
public ServerNodeDefinition(NodeDefinition def, RemoteAdapterFactory factory) throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Creates a remote adapter for the given local node definition.- Parameters:
def
- local node definitionfactory
- remote adapter factory- Throws:
RemoteException
- on RMI errors
-
-
Method Detail
-
getRequiredPrimaryTypes
public RemoteNodeType[] getRequiredPrimaryTypes() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getRequiredPrimaryTypes()
method.- Specified by:
getRequiredPrimaryTypes
in interfaceRemoteNodeDefinition
- Returns:
- required primary node types
- Throws:
RemoteException
- on RMI errors
-
getDefaultPrimaryType
public RemoteNodeType getDefaultPrimaryType() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getDefaultPrimaryType()
method.- Specified by:
getDefaultPrimaryType
in interfaceRemoteNodeDefinition
- Returns:
- default primary node type
- Throws:
RemoteException
- on RMI errors
-
allowsSameNameSiblings
public boolean allowsSameNameSiblings() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.allowSameNameSibs()
method.- Specified by:
allowsSameNameSiblings
in interfaceRemoteNodeDefinition
- Returns:
true
if same name siblings are allowed,false
otherwise- Throws:
RemoteException
- on RMI errors
-
getDefaultPrimaryTypeName
public String getDefaultPrimaryTypeName() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getDefaultPrimaryTypeName()
method.- Specified by:
getDefaultPrimaryTypeName
in interfaceRemoteNodeDefinition
- Returns:
- a String
- Throws:
RemoteException
- on RMI errors
-
getRequiredPrimaryTypeNames
public String[] getRequiredPrimaryTypeNames() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getRequiredPrimaryTypeNames()
method.- Specified by:
getRequiredPrimaryTypeNames
in interfaceRemoteNodeDefinition
- Returns:
- a String array
- Throws:
RemoteException
- on RMI errors
-
-