|
||||||||||
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 signaled with RemoteExceptions.
NamespaceRegistry
,
ClientNamespaceRegistry
,
ServerNamespaceRegistry
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. |
Method Detail |
---|
void registerNamespace(String prefix, String uri) throws RepositoryException, RemoteException
NamespaceRegistry.registerNamespace(String,String)
method.
prefix
- namespace prefixuri
- namespace uri
RepositoryException
- on repository errors
RemoteException
- on RMI errorsvoid unregisterNamespace(String prefix) throws RepositoryException, RemoteException
NamespaceRegistry.unregisterNamespace(String)
method.
prefix
- namespace prefix
RepositoryException
- on repository errors
RemoteException
- on RMI errorsString[] getPrefixes() throws RepositoryException, RemoteException
NamespaceRegistry.getPrefixes()
method.
RepositoryException
- on repository errors
RemoteException
- on RMI errorsString[] getURIs() throws RepositoryException, RemoteException
NamespaceRegistry,getURIs()
method.
RepositoryException
- on repository errors
RemoteException
- on RMI errorsString getURI(String prefix) throws RepositoryException, RemoteException
NamespaceRegistry.getURI(String)
method.
prefix
- namespace prefix
RepositoryException
- on repository errors
RemoteException
- on RMI errorsString getPrefix(String uri) throws RepositoryException, RemoteException
NamespaceRegistry.getPrefix(String)
method.
uri
- 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 |