|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
org.apache.jackrabbit.rmi.server.ServerObject
org.apache.jackrabbit.rmi.server.ServerNamespaceRegistry
Remote adapter for the JCR
NamespaceRegistry interface.
This class makes a local namespace registry available as an RMI service
using the
RemoteNamespaceRegistry
interface.
NamespaceRegistry,
RemoteNamespaceRegistry,
Serialized Form| Field Summary |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
ServerNamespaceRegistry(NamespaceRegistry registry,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local namespace registry. |
|
| Method Summary | |
String |
getPrefix(String uri)
Remote version of the NamespaceRegistry.getPrefix(String)
method. |
String[] |
getPrefixes()
Remote version of the NamespaceRegistry.getPrefixes()
method. |
String |
getURI(String prefix)
Remote version of the NamespaceRegistry.getURI(String)
method. |
String[] |
getURIs()
Remote version of the NamespaceRegistry,getURIs()
method. |
void |
registerNamespace(String prefix,
String uri)
Remote version of the NamespaceRegistry.registerNamespace(String,String)
method. |
void |
unregisterNamespace(String prefix)
Remote version of the NamespaceRegistry.unregisterNamespace(String)
method. |
| Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeArray, getRemoteNodeDefArray, getRemoteNodeTypeArray, getRemoteNodeTypeArray, getRemotePropertyArray, getRemotePropertyDefArray, getRemoteRowArray, getRemoteVersionArray, getRemoteVersionArray, getRepositoryException |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ServerNamespaceRegistry(NamespaceRegistry registry,
RemoteAdapterFactory factory)
throws RemoteException
registry - local namespace registryfactory - remote adapter factory
RemoteException - on RMI errors| Method Detail |
public void registerNamespace(String prefix,
String uri)
throws RepositoryException,
RemoteException
NamespaceRegistry.registerNamespace(String,String)
method.
registerNamespace in interface RemoteNamespaceRegistryprefix - namespace prefixuri - namespace uri
RepositoryException - on repository errors
RemoteException - on RMI errors
public void unregisterNamespace(String prefix)
throws RepositoryException,
RemoteException
NamespaceRegistry.unregisterNamespace(String)
method.
unregisterNamespace in interface RemoteNamespaceRegistryprefix - namespace prefix
RemoteException - on RMI errors
RepositoryException - on repository errors
public String[] getPrefixes()
throws RepositoryException,
RemoteException
NamespaceRegistry.getPrefixes()
method.
getPrefixes in interface RemoteNamespaceRegistryRemoteException - on RMI errors
RepositoryException - on repository errors
public String[] getURIs()
throws RepositoryException,
RemoteException
NamespaceRegistry,getURIs()
method.
getURIs in interface RemoteNamespaceRegistryRepositoryException - on repository errors
RemoteException - on RMI errors
public String getURI(String prefix)
throws RepositoryException,
RemoteException
NamespaceRegistry.getURI(String)
method.
getURI in interface RemoteNamespaceRegistryprefix - namespace prefix
RepositoryException - on repository errors
RemoteException - on RMI errors
public String getPrefix(String uri)
throws RepositoryException,
RemoteException
NamespaceRegistry.getPrefix(String)
method.
getPrefix in interface RemoteNamespaceRegistryuri - namespace uri
RepositoryException - on repository errors
RemoteException - on RMI errors
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||