com.metamatrix.connector.xml.jms
Class JMSXMLConnectorState
java.lang.Object
com.metamatrix.connector.xml.base.XMLConnectorStateImpl
com.metamatrix.connector.xml.base.SecureConnectorStateImpl
com.metamatrix.connector.xml.jms.JMSXMLConnectorState
- All Implemented Interfaces:
- BaseXMLConnectorState, JMSConnectorState, SecureConnectorState, XMLConnectorState, java.lang.Cloneable
- Direct Known Subclasses:
- JMSSOAPConnectorState
public class JMSXMLConnectorState
- extends SecureConnectorStateImpl
- implements JMSConnectorState
This class is responsible for getting the configuration data from the binding and asserting
that it is consistent with the needs of the connector.
- Author:
- Jdoyle
Fields inherited from class com.metamatrix.connector.xml.base.XMLConnectorStateImpl |
CACHE_ENABLED, CACHE_TIMEOUT, CONNECTOR_CAPABILITES, FILE_CACHE_LOCATION, INPUT_STREAM_FILTER_CLASS, LOG_REQUEST_RESPONSE_DOCS, logger, MAX_FILE_CACHE_SIZE, MAX_IN_MEMORY_STRING_SIZE, MAX_MEMORY_CACHE_SIZE, QUERY_PREPROCESS_CLASS, QUERY_PREPROCESS_CLASS_DEFAULT, SAX_FILTER_PROVIDER_CLASS, SAX_FILTER_PROVIDER_CLASS_DEFAULT |
Fields inherited from interface com.metamatrix.connector.xml.jms.JMSConnectorState |
ACKNOWLEDGEMENT_MODE, AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, CONNECTION_FACTORY, CONNECTION_RETRY_COUNT, CORRELATION_ID, DELIVERY_MODE_NON_PERISTENT, DELIVERY_MODE_PERISTENT, DUPS_OK_ACKNOWLEDGE, INBOUND_JMS_DESTINATION, INITIAL_CONTEXT_FACTORY, MESSAGE_DELIVERY_MODE, MESSAGE_DURATION, MESSAGE_PRIORITY, OUTBOUND_JMS_DESTINATION, PASSWORD, PROVIDER_URL, RECEIVE_TIMEOUT, REPLY_TO_DESTINATION, USERNAME |
Methods inherited from class com.metamatrix.connector.xml.base.XMLConnectorStateImpl |
getCacheLocation, getCacheTimeoutMillis, getCacheTimeoutSeconds, getConnectorCapabilities, getLogger, getMaxFileCacheSizeByte, getMaxFileCacheSizeKB, getMaxInMemoryStringSize, getMaxMemoryCacheSizeByte, getMaxMemoryCacheSizeKB, getPluggableInputStreamFilterClass, getPreprocessor, getSAXFilterProvider, isLogRequestResponse, isNotNullOrEmpty, isPreprocess, setLogger, setPluggableInputStreamFilterClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMSXMLConnectorState
public JMSXMLConnectorState()
setState
public void setState(ConnectorEnvironment env)
throws ConnectorException
- Specified by:
setState
in interface BaseXMLConnectorState
- Overrides:
setState
in class SecureConnectorStateImpl
- Throws:
ConnectorException
makeExecutor
public DocumentProducer makeExecutor(XMLExecution execution)
throws ConnectorException
- Specified by:
makeExecutor
in interface XMLConnectorState
- Throws:
ConnectorException
getInitialContextFactoryName
public java.lang.String getInitialContextFactoryName()
- Specified by:
getInitialContextFactoryName
in interface JMSConnectorState
getPrimaryProviderUrl
public java.lang.String getPrimaryProviderUrl()
- Specified by:
getPrimaryProviderUrl
in interface JMSConnectorState
getConnectionFactoryName
public java.lang.String getConnectionFactoryName()
- Specified by:
getConnectionFactoryName
in interface JMSConnectorState
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interface JMSConnectorState
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword
in interface JMSConnectorState
getInboundJMSDestination
public java.lang.String getInboundJMSDestination()
- Specified by:
getInboundJMSDestination
in interface JMSConnectorState
getOutboundJMSDestination
public java.lang.String getOutboundJMSDestination()
- Specified by:
getOutboundJMSDestination
in interface JMSConnectorState
getAcknowledgementMode
public int getAcknowledgementMode()
- Specified by:
getAcknowledgementMode
in interface JMSConnectorState
getReceiveTimeout
public int getReceiveTimeout()
- Specified by:
getReceiveTimeout
in interface JMSConnectorState
getCorrelationIdPrefix
public java.lang.String getCorrelationIdPrefix()
- Specified by:
getCorrelationIdPrefix
in interface JMSConnectorState
getMesssagePriority
public int getMesssagePriority()
- Specified by:
getMesssagePriority
in interface JMSConnectorState
getMessageDuration
public int getMessageDuration()
- Specified by:
getMessageDuration
in interface JMSConnectorState
getMessageDeliveryMode
public int getMessageDeliveryMode()
- Specified by:
getMessageDeliveryMode
in interface JMSConnectorState
getReplyToDestination
public java.lang.String getReplyToDestination()
- Specified by:
getReplyToDestination
in interface JMSConnectorState
getConnectionRetryCount
public int getConnectionRetryCount()
- Specified by:
getConnectionRetryCount
in interface JMSConnectorState
getConnection
public Connection getConnection(CachingConnector connector,
ExecutionContext context,
ConnectorEnvironment environment)
throws ConnectorException
- Specified by:
getConnection
in interface XMLConnectorState
- Throws:
ConnectorException
getState
public java.util.Properties getState()
- Specified by:
getState
in interface BaseXMLConnectorState
- Overrides:
getState
in class SecureConnectorStateImpl
Copyright © 2009. All Rights Reserved.