org.jvoicexml.client.jndi
Interface RemoteMappedDocumentRepository

All Superinterfaces:
Remote

public interface RemoteMappedDocumentRepository
extends Remote

Remote interface to enable remote method calls to the MappedDocumentRepository.

Since:
0.4
Version:
$Revision: 2129 $
Author:
Dirk Schnelle-Walka
See Also:
MappedDocumentRepository

Method Summary
 void addDocument(URI uri, String document)
          Adds the given document to this repository.
 void addDocument(URI uri, VoiceXmlDocument document)
          Adds the given document to this repository.
 URI getUri(String path)
          Gets an URI that can be evaluated by this scheme strategy for the given path.
 

Method Detail

getUri

URI getUri(String path)
           throws RemoteException
Gets an URI that can be evaluated by this scheme strategy for the given path.

Parameters:
path - path of the document
Returns:
Valid URI for this strategy, null in case of an error.
Throws:
RemoteException - Error in remote method call.

addDocument

void addDocument(URI uri,
                 String document)
                 throws RemoteException
Adds the given document to this repository.

Parameters:
uri - URI as a key for later retrieval.
document - Document to be added.
Throws:
RemoteException - Error in remote method call.

addDocument

void addDocument(URI uri,
                 VoiceXmlDocument document)
                 throws RemoteException
Adds the given document to this repository.

Parameters:
uri - URI as a key for later retrieval.
document - Document to be added.
Throws:
RemoteException - Error in remote method call.


Copyright © 2005-2010JVoiceXML group.