Package org.apache.jackrabbit.rmi.client
Class ClientNamespaceRegistry
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.ClientNamespaceRegistry
-
- All Implemented Interfaces:
NamespaceRegistry
@Deprecated(forRemoval=true) public class ClientNamespaceRegistry extends ClientObject implements NamespaceRegistry
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.Local adapter for the JCR-RMI
RemoteNamespaceRegistry
interface. This class makes a remote namespace registry locally available using the JCRNamespaceRegistry
interface.- See Also:
NamespaceRegistry
,RemoteNamespaceRegistry
-
-
Field Summary
-
Fields inherited from interface javax.jcr.NamespaceRegistry
NAMESPACE_EMPTY, NAMESPACE_JCR, NAMESPACE_MIX, NAMESPACE_NT, NAMESPACE_XML, PREFIX_EMPTY, PREFIX_JCR, PREFIX_MIX, PREFIX_NT, PREFIX_XML
-
-
Constructor Summary
Constructors Constructor Description ClientNamespaceRegistry(RemoteNamespaceRegistry remote, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a local adapter for the given remote namespace registry.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getPrefix(String uri)
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getPrefixes()
Deprecated, for removal: This API element is subject to removal in a future version.String
getURI(String prefix)
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getURIs()
Deprecated, for removal: This API element is subject to removal in a future version.void
registerNamespace(String prefix, String uri)
Deprecated, for removal: This API element is subject to removal in a future version.void
unregisterNamespace(String prefix)
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
-
-
-
Constructor Detail
-
ClientNamespaceRegistry
public ClientNamespaceRegistry(RemoteNamespaceRegistry remote, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a local adapter for the given remote namespace registry.- Parameters:
remote
- remote namespace registryfactory
- local adapter factory
-
-
Method Detail
-
registerNamespace
public void registerNamespace(String prefix, String uri) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
registerNamespace
in interfaceNamespaceRegistry
- Throws:
RepositoryException
-
unregisterNamespace
public void unregisterNamespace(String prefix) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
unregisterNamespace
in interfaceNamespaceRegistry
- Throws:
RepositoryException
-
getPrefixes
public String[] getPrefixes() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPrefixes
in interfaceNamespaceRegistry
- Throws:
RepositoryException
-
getURIs
public String[] getURIs() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getURIs
in interfaceNamespaceRegistry
- Throws:
RepositoryException
-
getURI
public String getURI(String prefix) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getURI
in interfaceNamespaceRegistry
- Throws:
RepositoryException
-
getPrefix
public String getPrefix(String uri) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPrefix
in interfaceNamespaceRegistry
- Throws:
RepositoryException
-
-