com.metamatrix.connector.xml
Interface DocumentProducer

All Known Subinterfaces:
AsynchronousDocumentProducer
All Known Implementing Classes:
FileExecutor, HTTPExecutor, JMSRequestExecutor, RequestResponseDocumentProducer, SOAPExecutor

public interface DocumentProducer

Author:
mharris Implementations are responsible for implementing these functions and providing an appropriate getter for the "Document" it will produce.

Method Summary
 java.lang.String getCacheKey(int i)
           
 int getDocumentCount()
           
 java.io.Serializable getRequestObject(int i)
           
 Response getXMLResponse(int invocationNumber)
           
 

Method Detail

getDocumentCount

int getDocumentCount()
                     throws ConnectorException
Throws:
ConnectorException

getCacheKey

java.lang.String getCacheKey(int i)
                             throws ConnectorException
Throws:
ConnectorException

getXMLResponse

Response getXMLResponse(int invocationNumber)
                        throws ConnectorException
Throws:
ConnectorException

getRequestObject

java.io.Serializable getRequestObject(int i)
                                      throws ConnectorException
Throws:
ConnectorException


Copyright © 2009. All Rights Reserved.