Remote adapter for the JCR
NamespaceRegistry interface.
This class makes a local namespace registry available as an RMI service
using the
RemoteNamespaceRegistry
interface.
@Deprecated public class ServerNamespaceRegistry extends ServerObject implements RemoteNamespaceRegistry
NamespaceRegistry,
RemoteNamespaceRegistry,
Serialized Formref| Constructor and Description |
|---|
ServerNamespaceRegistry(NamespaceRegistry registry,
RemoteAdapterFactory factory)
Deprecated.
Creates a remote adapter for the given local namespace registry.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPrefix(String uri)
Deprecated.
Remote version of the
NamespaceRegistry.getPrefix(String)
method. |
String[] |
getPrefixes()
Deprecated.
Remote version of the
NamespaceRegistry.getPrefixes()
method. |
String |
getURI(String prefix)
Deprecated.
Remote version of the
NamespaceRegistry.getURI(String)
method. |
String[] |
getURIs()
Deprecated.
Remote version of the
NamespaceRegistry,getURIs()
method. |
void |
registerNamespace(String prefix,
String uri)
Deprecated.
Remote version of the
NamespaceRegistry.registerNamespace(String,String)
method. |
void |
unregisterNamespace(String prefix)
Deprecated.
Remote version of the
NamespaceRegistry.unregisterNamespace(String)
method. |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic ServerNamespaceRegistry(NamespaceRegistry registry, RemoteAdapterFactory factory) throws RemoteException
registry - local namespace registryfactory - remote adapter factoryRemoteException - on RMI errorspublic void registerNamespace(String prefix, String uri) throws RepositoryException, RemoteException
NamespaceRegistry.registerNamespace(String,String)
method.registerNamespace in interface RemoteNamespaceRegistryprefix - namespace prefixuri - namespace uriRepositoryException - on repository errorsRemoteException - on RMI errorspublic void unregisterNamespace(String prefix) throws RepositoryException, RemoteException
NamespaceRegistry.unregisterNamespace(String)
method.unregisterNamespace in interface RemoteNamespaceRegistryprefix - namespace prefixRepositoryException - on repository errorsRemoteException - on RMI errorspublic String[] getPrefixes() throws RepositoryException, RemoteException
NamespaceRegistry.getPrefixes()
method.getPrefixes in interface RemoteNamespaceRegistryRepositoryException - on repository errorsRemoteException - on RMI errorspublic String[] getURIs() throws RepositoryException, RemoteException
NamespaceRegistry,getURIs()
method.getURIs in interface RemoteNamespaceRegistryRepositoryException - on repository errorsRemoteException - on RMI errorspublic String getURI(String prefix) throws RepositoryException, RemoteException
NamespaceRegistry.getURI(String)
method.getURI in interface RemoteNamespaceRegistryprefix - namespace prefixRepositoryException - on repository errorsRemoteException - on RMI errorspublic String getPrefix(String uri) throws RepositoryException, RemoteException
NamespaceRegistry.getPrefix(String)
method.getPrefix in interface RemoteNamespaceRegistryuri - namespace uriRepositoryException - on repository errorsRemoteException - on RMI errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.