|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.teiid.connector.basic.BasicConnector com.metamatrix.connector.xml.base.LoggingConnector com.metamatrix.connector.xml.base.AbstractCachingConnector com.metamatrix.connector.xml.base.XMLConnector
public class XMLConnector
Field Summary |
---|
Fields inherited from class com.metamatrix.connector.xml.base.LoggingConnector |
---|
m_environment, m_logger, m_state |
Constructor Summary | |
---|---|
XMLConnector()
|
Method Summary | |
---|---|
ConnectorCapabilities |
getCapabilities()
Get the capabilities of this connector. |
Connection |
getConnection(ExecutionContext context)
Obtain a connection with the connector. |
void |
start(ConnectorEnvironment env)
Start the connector with the connector environment. |
void |
stop()
Stop the connector. |
Methods inherited from class com.metamatrix.connector.xml.base.LoggingConnector |
---|
getEnvironment, getLogger, getState |
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 com.metamatrix.connector.xml.StatefulConnector |
---|
getEnvironment, getLogger, getState |
Methods inherited from interface org.teiid.connector.api.Connector |
---|
createIdentity |
Constructor Detail |
---|
public XMLConnector()
Method Detail |
---|
public void start(ConnectorEnvironment env) throws ConnectorException
Connector
start
in interface Connector
start
in class AbstractCachingConnector
env
- The connector environment, provided by the Connector Manager
ConnectorException
public void stop()
Connector
stop
in interface Connector
stop
in class AbstractCachingConnector
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 |