|
||||||||||
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()
|
Connection |
getConnection(ExecutionContext context)
|
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)
|
void |
stop()
|
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()
public void start(ConnectorEnvironment environment) throws ConnectorException
start
in interface Connector
start
in class BasicConnector
ConnectorException
public void stop()
public Connection getConnection(ExecutionContext context) throws ConnectorException
ConnectorException
protected 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 |