|
||||||||||
| 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.exoplatform.services.jcr.rmi.impl.server.ServerObject
org.exoplatform.services.jcr.rmi.impl.server.ServerNamespaceRegistry
public class 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(javax.jcr.NamespaceRegistry registry,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local namespace registry. |
|
| Method Summary | |
|---|---|
java.lang.String |
getPrefix(java.lang.String uri)
Remote version of the NamespaceRegistry.getPrefix(String) method. |
java.lang.String[] |
getPrefixes()
Remote version of the NamespaceRegistry.getPrefixes() method. |
java.lang.String |
getURI(java.lang.String prefix)
Remote version of the NamespaceRegistry.getURI(String) method. |
java.lang.String[] |
getURIs()
Remote version of the NamespaceRegistry,getURIs()
method. |
void |
registerNamespace(java.lang.String prefix,
java.lang.String uri)
Remote version of the NamespaceRegistry.registerNamespace(String,String) method. |
void |
unregisterNamespace(java.lang.String prefix)
Remote version of the NamespaceRegistry.unregisterNamespace(String) method. |
| Methods inherited from class org.exoplatform.services.jcr.rmi.impl.server.ServerObject |
|---|
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, 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(javax.jcr.NamespaceRegistry registry,
RemoteAdapterFactory factory)
throws java.rmi.RemoteException
registry - local namespace registryfactory - remote adapter factory
java.rmi.RemoteException - on RMI errors| Method Detail |
|---|
public void registerNamespace(java.lang.String prefix,
java.lang.String uri)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry.registerNamespace(String,String) method.
registerNamespace in interface RemoteNamespaceRegistryprefix - namespace prefixuri - namespace uri
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public void unregisterNamespace(java.lang.String prefix)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry.unregisterNamespace(String) method.
unregisterNamespace in interface RemoteNamespaceRegistryprefix - namespace prefix
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public java.lang.String[] getPrefixes()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry.getPrefixes() method.
getPrefixes in interface RemoteNamespaceRegistryjavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public java.lang.String[] getURIs()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry,getURIs()
method.
getURIs in interface RemoteNamespaceRegistryjavax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public java.lang.String getURI(java.lang.String prefix)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry.getURI(String) method.
getURI in interface RemoteNamespaceRegistryprefix - namespace prefix
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
public java.lang.String getPrefix(java.lang.String uri)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry.getPrefix(String) method.
getPrefix in interface RemoteNamespaceRegistryuri - namespace uri
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||