com.metamatrix.connector.xml.base
Class LoggingConnector

java.lang.Object
  extended by org.teiid.connector.basic.BasicConnector
      extended by com.metamatrix.connector.xml.base.LoggingConnector
All Implemented Interfaces:
StatefulConnector, Connector
Direct Known Subclasses:
AbstractCachingConnector

public abstract class LoggingConnector
extends BasicConnector
implements StatefulConnector

Author:
JChoate TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
protected  XMLConnectorState m_state
           
 
Constructor Summary
LoggingConnector()
           
 
Method Summary
 ConnectorEnvironment getEnvironment()
           
 ConnectorLogger getLogger()
           
 XMLConnectorState getState()
           
 void start(ConnectorEnvironment environment)
          Start the connector with the connector environment.
 
Methods inherited from class org.teiid.connector.basic.BasicConnector
areAdminConnectionsAllowed, createIdentity, getConnectorName, setAdminConnectionsAllowed, setConnectorName, setUseCredentialMap, useCredentialMap
 
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.Connector
createIdentity, getCapabilities, getConnection, stop
 

Field Detail

m_state

protected XMLConnectorState m_state
Constructor Detail

LoggingConnector

public LoggingConnector()
Method Detail

start

public void start(ConnectorEnvironment environment)
           throws ConnectorException
Description copied from interface: Connector
Start the connector with the connector environment. The environment provides access to external resources the connector implementation may need to use.

Specified by:
start in interface Connector
Overrides:
start in class BasicConnector
Parameters:
environment - The connector environment, provided by the Connector Manager
Throws:
ConnectorException

getLogger

public ConnectorLogger getLogger()
Specified by:
getLogger in interface StatefulConnector

getEnvironment

public ConnectorEnvironment getEnvironment()
Specified by:
getEnvironment in interface StatefulConnector

getState

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


Copyright © 2009. All Rights Reserved.