com.metamatrix.connector.xmlsource.file
Class FileExecution

java.lang.Object
  extended by org.teiid.connector.basic.BasicExecution
      extended by com.metamatrix.connector.xmlsource.XMLSourceExecution
          extended by com.metamatrix.connector.xmlsource.file.FileExecution
All Implemented Interfaces:
Execution, ProcedureExecution, ResultSetExecution

public class FileExecution
extends XMLSourceExecution

Execution class for File based XML Source.


Field Summary
 
Fields inherited from class com.metamatrix.connector.xmlsource.XMLSourceExecution
env
 
Constructor Summary
FileExecution(IProcedure proc, ConnectorEnvironment env, RuntimeMetadata metadata, ExecutionContext context, java.io.File rootFolder)
           
 
Method Summary
 void execute()
          Execute the associated command.
 javax.xml.transform.Source getReturnValue()
           
 
Methods inherited from class com.metamatrix.connector.xmlsource.XMLSourceExecution
cancel, close, convertToXMLType, getOutputParameterValues, next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileExecution

public FileExecution(IProcedure proc,
                     ConnectorEnvironment env,
                     RuntimeMetadata metadata,
                     ExecutionContext context,
                     java.io.File rootFolder)
              throws ConnectorException
Parameters:
env -
conn -
context -
metadata -
Throws:
ConnectorException
Method Detail

execute

public void execute()
             throws ConnectorException
Description copied from interface: Execution
Execute the associated command. Results will be retrieved through a specific sub-interface call.

Throws:
ConnectorException
See Also:
org.teiid.connector.api.ProcedureExecution#execute(org.teiid.connector.language.IProcedure, int)

getReturnValue

public javax.xml.transform.Source getReturnValue()
Specified by:
getReturnValue in class XMLSourceExecution


Copyright © 2009. All Rights Reserved.