org.jvoicexml.jndi.client
Interface RemoteMappedDocumentRepository

All Superinterfaces:
Remote

public interface RemoteMappedDocumentRepository
extends Remote

Remote interface to enable remote method calls betwenn MappedDocumentRepositorySkeleton and MappedDocumentRepositoryStub.

Since:
0.4
Version:
$Revision: 202 $

Copyright © 2006-2007 JVoiceXML group - http://jvoicexml.sourceforge.net/

Author:
Dirk Schnelle
See Also:
MappedDocumentRepository, MappedDocumentRepositorySkeleton, MappedDocumentRepositoryStub

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 ssp)
          Gets an URI that can be evaluated by this scheme strategy for the given ssp.
 

Method Detail

getUri

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

Parameters:
ssp - Scheme specific part
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-2007 JVoiceXML group.