Package org.apache.jackrabbit.rmi.server
Class ServerNodeTypeManager
- 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.ServerNodeTypeManager
-
- All Implemented Interfaces:
Serializable
,Remote
,RemoteNodeTypeManager
@Deprecated(forRemoval=true) public class ServerNodeTypeManager extends ServerObject implements RemoteNodeTypeManager
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
NodeTypeManager
interface. This class makes a local node type manager available as an RMI service using theRemoteNodeTypeManager
interface.- See Also:
NodeTypeManager
,RemoteNodeTypeManager
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description ServerNodeTypeManager(NodeTypeManager manager, 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 type manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RemoteIterator
getAllNodeTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getAllNodeTypes()
method.RemoteIterator
getMixinNodeTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getMixinNodeTypes()
method.RemoteNodeType
getNodeType(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getNodeType(String)
method.RemoteIterator
getPrimaryNodeTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getPrimaryNodeTypes()
method.boolean
hasNodeType(String name)
Deprecated, for removal: This API element is subject to removal in a future version.void
unregisterNodeTypes(String[] names)
Deprecated, for removal: This API element is subject to removal in a future version.-
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
-
-
-
-
Constructor Detail
-
ServerNodeTypeManager
public ServerNodeTypeManager(NodeTypeManager manager, 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 type manager.- Parameters:
manager
- local node type managerfactory
- remote adapter factory- Throws:
RemoteException
- on RMI errors
-
-
Method Detail
-
getNodeType
public RemoteNodeType getNodeType(String name) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getNodeType(String)
method.- Specified by:
getNodeType
in interfaceRemoteNodeTypeManager
- Parameters:
name
- node type name- Returns:
- node type
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getAllNodeTypes
public RemoteIterator getAllNodeTypes() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getAllNodeTypes()
method.- Specified by:
getAllNodeTypes
in interfaceRemoteNodeTypeManager
- Returns:
- all node types
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getPrimaryNodeTypes
public RemoteIterator getPrimaryNodeTypes() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getPrimaryNodeTypes()
method.- Specified by:
getPrimaryNodeTypes
in interfaceRemoteNodeTypeManager
- Returns:
- primary node types
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getMixinNodeTypes
public RemoteIterator getMixinNodeTypes() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getMixinNodeTypes()
method.- Specified by:
getMixinNodeTypes
in interfaceRemoteNodeTypeManager
- Returns:
- mixin node types
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
hasNodeType
public boolean hasNodeType(String name) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
hasNodeType
in interfaceRemoteNodeTypeManager
- Throws:
RepositoryException
RemoteException
-
unregisterNodeTypes
public void unregisterNodeTypes(String[] names) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
unregisterNodeTypes
in interfaceRemoteNodeTypeManager
- Throws:
RepositoryException
RemoteException
-
-