|
||||||||||
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.metadata.adapter.ObjectConnector
public abstract class ObjectConnector
Adapter to expose the object processing logic via the standard connector API.
Constructor Summary | |
---|---|
ObjectConnector()
|
Method Summary | |
---|---|
ConnectorCapabilities |
getCapabilities()
Get the capabilities of this connector. |
Connection |
getConnection(ExecutionContext context)
Obtain a connection with the connector. |
protected ConnectorEnvironment |
getEnvironment()
|
protected abstract com.metamatrix.connector.metadata.internal.IObjectSource |
getMetadataObjectSource(ExecutionContext context)
When a Metadata query is being executed, this method will be called to obtain the object source. |
void |
start(ConnectorEnvironment environment)
Start the connector with the connector 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 ObjectConnector()
Method Detail |
---|
public ConnectorCapabilities getCapabilities()
Connector
Connection.getCapabilities()
public void start(ConnectorEnvironment environment) throws ConnectorException
Connector
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 connectionprotected ConnectorEnvironment getEnvironment()
protected abstract com.metamatrix.connector.metadata.internal.IObjectSource getMetadataObjectSource(ExecutionContext context) throws ConnectorException
environment
- context
-
ConnectorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |