com.metamatrix.connector.xml.base
Class XMLConnectionImpl

java.lang.Object
  extended by org.teiid.connector.basic.BasicConnection
      extended by com.metamatrix.connector.xml.base.XMLConnectionImpl
All Implemented Interfaces:
XMLConnection, Connection
Direct Known Subclasses:
FileConnectionImpl, HTTPConnectionImpl, SOAPConnectionImpl

public class XMLConnectionImpl
extends BasicConnection
implements XMLConnection


Constructor Summary
XMLConnectionImpl(CachingConnector connector, ExecutionContext context, ConnectorEnvironment connectorEnv)
           
 
Method Summary
 void close()
          Release the connection.
 CachingConnector getConnector()
           
 ConnectorEnvironment getConnectorEnv()
           
 java.lang.String getQueryId()
           
 XMLConnectorState getState()
           
 TrustedPayloadHandler getTrustedPayloadHandler()
           
 java.lang.String getUser()
           
 
Methods inherited from class org.teiid.connector.basic.BasicConnection
closeCalled, createExecution, createProcedureExecution, createResultSetExecution, createUpdateExecution, getCapabilities, isAlive, setConnectorIdentity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.teiid.connector.api.Connection
closeCalled, createExecution, getCapabilities, isAlive, setConnectorIdentity
 

Constructor Detail

XMLConnectionImpl

public XMLConnectionImpl(CachingConnector connector,
                         ExecutionContext context,
                         ConnectorEnvironment connectorEnv)
                  throws ConnectorException
Throws:
ConnectorException
Method Detail

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

getState

public XMLConnectorState getState()
Specified by:
getState in interface XMLConnection

getConnector

public CachingConnector getConnector()
Specified by:
getConnector in interface XMLConnection

getTrustedPayloadHandler

public TrustedPayloadHandler getTrustedPayloadHandler()
Specified by:
getTrustedPayloadHandler in interface XMLConnection

getQueryId

public java.lang.String getQueryId()
Specified by:
getQueryId in interface XMLConnection

getUser

public java.lang.String getUser()
Specified by:
getUser in interface XMLConnection

getConnectorEnv

public ConnectorEnvironment getConnectorEnv()
Specified by:
getConnectorEnv in interface XMLConnection


Copyright © 2009. All Rights Reserved.