|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteNamespaceRegistry
Remote version of the JCR NamespaceRegistry interface. Used
by the ServerNamespaceRegistry and
ClientNamespaceRegistry adapters to provide transparent RMI access to remote namespace
registries.
The methods in this interface are documented only with a reference to a corresponding NamespaceRegistry method. The remote object will simply forward the method call to the underlying NamespaceRegistry instance. Argument and return values, as well as possible exceptions, are copied over the network. RMI errors are signalled with RemoteExceptions.
| 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. |
| Method Detail |
|---|
void registerNamespace(java.lang.String prefix,
java.lang.String uri)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry.registerNamespace(String,String) method.
prefix - namespace prefixuri - namespace uri
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
void unregisterNamespace(java.lang.String prefix)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry.unregisterNamespace(String) method.
prefix - namespace prefix
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
java.lang.String[] getPrefixes()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry.getPrefixes() method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
java.lang.String[] getURIs()
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry,getURIs()
method.
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
java.lang.String getURI(java.lang.String prefix)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry.getURI(String) method.
prefix - namespace prefix
javax.jcr.RepositoryException - on repository errors
java.rmi.RemoteException - on RMI errors
java.lang.String getPrefix(java.lang.String uri)
throws javax.jcr.RepositoryException,
java.rmi.RemoteException
NamespaceRegistry.getPrefix(String) method.
uri - 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 | |||||||||