Remote adapter for the JCR NodeDefinition
interface. This class makes a local node definition available as an
RMI service using the
RemoteNodeDefinition
interface.
@Deprecated public class ServerNodeDefinition extends ServerItemDefinition implements RemoteNodeDefinition
NodeDefinition
,
RemoteNodeDefinition
,
Serialized Formref
Constructor and Description |
---|
ServerNodeDefinition(NodeDefinition def,
RemoteAdapterFactory factory)
Deprecated.
Creates a remote adapter for the given local node definition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsSameNameSiblings()
Deprecated.
Remote version of the
NodeDef.allowSameNameSibs()
method. |
RemoteNodeType |
getDefaultPrimaryType()
Deprecated.
Remote version of the
NodeDef.getDefaultPrimaryType()
method. |
String |
getDefaultPrimaryTypeName()
Deprecated.
Remote version of the
NodeDef.getDefaultPrimaryTypeName()
method. |
String[] |
getRequiredPrimaryTypeNames()
Deprecated.
Remote version of the
NodeDef.getRequiredPrimaryTypeNames()
method. |
RemoteNodeType[] |
getRequiredPrimaryTypes()
Deprecated.
Remote version of the
NodeDef.getRequiredPrimaryTypes()
method. |
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
equals, getRef, hashCode, toString, toStub
finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
public ServerNodeDefinition(NodeDefinition def, RemoteAdapterFactory factory) throws RemoteException
def
- local node definitionfactory
- remote adapter factoryRemoteException
- on RMI errorspublic RemoteNodeType[] getRequiredPrimaryTypes() throws RemoteException
NodeDef.getRequiredPrimaryTypes()
method.getRequiredPrimaryTypes
in interface RemoteNodeDefinition
RemoteException
- on RMI errorspublic RemoteNodeType getDefaultPrimaryType() throws RemoteException
NodeDef.getDefaultPrimaryType()
method.getDefaultPrimaryType
in interface RemoteNodeDefinition
RemoteException
- on RMI errorspublic boolean allowsSameNameSiblings() throws RemoteException
NodeDef.allowSameNameSibs()
method.allowsSameNameSiblings
in interface RemoteNodeDefinition
true
if same name siblings are allowed,
false
otherwiseRemoteException
- on RMI errorspublic String getDefaultPrimaryTypeName() throws RemoteException
NodeDef.getDefaultPrimaryTypeName()
method.getDefaultPrimaryTypeName
in interface RemoteNodeDefinition
RemoteException
- on RMI errorspublic String[] getRequiredPrimaryTypeNames() throws RemoteException
NodeDef.getRequiredPrimaryTypeNames()
method.getRequiredPrimaryTypeNames
in interface RemoteNodeDefinition
RemoteException
- on RMI errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.