org.apache.jackrabbit.rmi.remote
Interface RemoteNodeTypeManager

All Superinterfaces:
Remote
All Known Implementing Classes:
ServerNodeTypeManager

public interface RemoteNodeTypeManager
extends Remote

Remote version of the JCR NodeTypeManager interface. Used by the ServerNodeTypeManager and ClientNodeTypeManager adapters to provide transparent RMI access to remote node type managers.

The methods in this interface are documented only with a reference to a corresponding NodeTypeManager method. The remote object will simply forward the method call to the underlying NodeTypeManager instance. Arguments and possible exceptions are copied over the network. Complex NodeType values are returned as remote references to the RemoteNodeType interface. Iterator values are transmitted as object arrays. RMI errors are signaled with RemoteExceptions.

See Also:
NodeTypeManager, ClientNodeTypeManager, ServerNodeTypeManager

Method Summary
 RemoteIterator getAllNodeTypes()
          Remote version of the NodeTypeManager.getAllNodeTypes() method.
 RemoteIterator getMixinNodeTypes()
          Remote version of the NodeTypeManager.getMixinNodeTypes() method.
 RemoteNodeType getNodeType(String name)
          Remote version of the NodeTypeManager.getNodeType(String) method.
 RemoteIterator getPrimaryNodeTypes()
          Remote version of the NodeTypeManager.getPrimaryNodeTypes() method.
 boolean hasNodeType(String name)
           
 void unregisterNodeTypes(String[] names)
           
 

Method Detail

getNodeType

RemoteNodeType getNodeType(String name)
                           throws RepositoryException,
                                  RemoteException
Remote version of the NodeTypeManager.getNodeType(String) method.

Parameters:
name - node type name
Returns:
node type
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors

getAllNodeTypes

RemoteIterator getAllNodeTypes()
                               throws RepositoryException,
                                      RemoteException
Remote version of the NodeTypeManager.getAllNodeTypes() method.

Returns:
all node types
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors

getPrimaryNodeTypes

RemoteIterator getPrimaryNodeTypes()
                                   throws RepositoryException,
                                          RemoteException
Remote version of the NodeTypeManager.getPrimaryNodeTypes() method.

Returns:
primary node types
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors

getMixinNodeTypes

RemoteIterator getMixinNodeTypes()
                                 throws RepositoryException,
                                        RemoteException
Remote version of the NodeTypeManager.getMixinNodeTypes() method.

Returns:
mixin node types
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors

hasNodeType

boolean hasNodeType(String name)
                    throws RepositoryException,
                           RemoteException
Throws:
RepositoryException
RemoteException

unregisterNodeTypes

void unregisterNodeTypes(String[] names)
                         throws RepositoryException,
                                RemoteException
Throws:
RepositoryException
RemoteException


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.