com.metamatrix.connector.xmlsource.soap
Class SoapConnection
java.lang.Object
org.teiid.connector.basic.BasicConnection
com.metamatrix.connector.xmlsource.XMLSourceConnection
com.metamatrix.connector.xmlsource.soap.SoapConnection
- All Implemented Interfaces:
- Connection
public class SoapConnection
- extends XMLSourceConnection
A SOAP based connection object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoapConnection
public SoapConnection(ConnectorEnvironment env)
throws ConnectorException
- Parameters:
env
-
- Throws:
ConnectorException
createProcedureExecution
public ProcedureExecution createProcedureExecution(IProcedure command,
ExecutionContext executionContext,
RuntimeMetadata metadata)
throws ConnectorException
- Overrides:
createProcedureExecution
in class BasicConnection
- Throws:
ConnectorException
isConnected
public boolean isConnected()
- Description copied from class:
XMLSourceConnection
- Check if the connection is active.
- Specified by:
isConnected
in class XMLSourceConnection
- Returns:
- true if active; false otherwise
- See Also:
XMLSourceConnection.isConnected()
close
public void close()
- Description copied from interface:
Connection
- Release the connection. This will be called when MetaMatrix has completed
using the connection for an execution.
- Specified by:
close
in interface Connection
- Overrides:
close
in class XMLSourceConnection
- See Also:
com.metamatrix.connector.xmlsource.XMLSourceConnection#release()
findOperation
public ServiceOperation findOperation(java.lang.String procedureName)
throws com.metamatrix.connector.xmlsource.soap.SoapConnection.OperationNotFoundException
- Find the operation to execute
- Parameters:
name
-
- Returns:
- operation if found; exception otherwise
- Throws:
OperationNotFoundException
com.metamatrix.connector.xmlsource.soap.SoapConnection.OperationNotFoundException
Copyright © 2009. All Rights Reserved.