com.metamatrix.connector.xml.jms
Class JMSConnection
java.lang.Object
org.teiid.connector.basic.BasicConnection
com.metamatrix.connector.xml.jms.JMSConnection
- All Implemented Interfaces:
- XMLConnection, Connection
public class JMSConnection
- extends BasicConnection
- implements XMLConnection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMSConnection
public JMSConnection(CachingConnector connector,
ExecutionContext secCtx,
ConnectorEnvironment connectorEnv)
throws ConnectorException
- Throws:
ConnectorException
getState
public XMLConnectorState getState()
- Specified by:
getState
in interface XMLConnection
createResultSetExecution
public ResultSetExecution createResultSetExecution(IQueryCommand command,
ExecutionContext executionContext,
RuntimeMetadata metadata)
throws ConnectorException
- Overrides:
createResultSetExecution
in class BasicConnection
- Throws:
ConnectorException
close
public void close()
- Description copied from interface:
Connection
- Release the connection. This will be called when MetaMatrix has completed
using the connection for an execution.
- Specified by:
close
in interface Connection
getInboundDestination
public javax.jms.Destination getInboundDestination()
getOutboundDestination
public javax.jms.Destination getOutboundDestination()
getJMSSession
public javax.jms.Session getJMSSession()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getQueryPreprocessor
public IQueryPreprocessor getQueryPreprocessor()
getConnector
public CachingConnector getConnector()
- Specified by:
getConnector
in interface XMLConnection
getTrustedPayloadHandler
public TrustedPayloadHandler getTrustedPayloadHandler()
throws ConnectorException
- Specified by:
getTrustedPayloadHandler
in interface XMLConnection
- Throws:
ConnectorException
getQueryId
public java.lang.String getQueryId()
- Specified by:
getQueryId
in interface XMLConnection
getUser
public java.lang.String getUser()
- Specified by:
getUser
in interface XMLConnection
start
public void start()
throws ConnectorException
- Throws:
ConnectorException
stop
public void stop()
throws ConnectorException
- Throws:
ConnectorException
getConnectorEnv
public ConnectorEnvironment getConnectorEnv()
- Specified by:
getConnectorEnv
in interface XMLConnection
Copyright © 2009. All Rights Reserved.