com.metamatrix.connector.xmlsource
Class XMLSourceConnection

java.lang.Object
  extended by org.teiid.connector.basic.BasicConnection
      extended by com.metamatrix.connector.xmlsource.XMLSourceConnection
All Implemented Interfaces:
Connection
Direct Known Subclasses:
FileConnection, SoapConnection

public abstract class XMLSourceConnection
extends BasicConnection

A Base XML Connection to an XML Source


Field Summary
protected  boolean connected
           
protected  ConnectorEnvironment env
           
 
Constructor Summary
XMLSourceConnection(ConnectorEnvironment env)
          Constructor.
 
Method Summary
 void close()
          Release the connection.
abstract  boolean isConnected()
          Check if the connection is active.
 
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
 

Field Detail

env

protected ConnectorEnvironment env

connected

protected boolean connected
Constructor Detail

XMLSourceConnection

public XMLSourceConnection(ConnectorEnvironment env)
                    throws ConnectorException
Constructor.

Parameters:
env -
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.

See Also:
org.teiid.connector.api.Connection#release()

isConnected

public abstract boolean isConnected()
Check if the connection is active.

Returns:
true if active; false otherwise


Copyright © 2009. All Rights Reserved.