|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.connector.basic.BasicConnector
com.metamatrix.connector.text.TextConnector
public class TextConnector
Implementation of text connector.
Constructor Summary | |
---|---|
TextConnector()
|
Method Summary | |
---|---|
ConnectorCapabilities |
getCapabilities()
Get the capabilities of this connector. |
Connection |
getConnection(ExecutionContext context)
Obtain a connection with the connector. |
void |
start(ConnectorEnvironment environment)
Initialization with environment. |
void |
stop()
Stop the connector. |
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 |
Constructor Detail |
---|
public TextConnector()
Method Detail |
---|
public void start(ConnectorEnvironment environment) throws ConnectorException
start
in interface Connector
start
in class BasicConnector
environment
- The connector environment, provided by the Connector Manager
ConnectorException
public void stop()
Connector
public Connection getConnection(ExecutionContext context) throws ConnectorException
Connector
context
- The context of the current user that will be using this connection,
may be null if this connection is for an administrative operation.
ConnectorException
- If an error occurred obtaining a connectionpublic ConnectorCapabilities getCapabilities()
Connector
Connection.getCapabilities()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |