com.metamatrix.connector.xml.base
Class SecureConnectorStateImpl

java.lang.Object
  extended by com.metamatrix.connector.xml.base.XMLConnectorStateImpl
      extended by com.metamatrix.connector.xml.base.SecureConnectorStateImpl
All Implemented Interfaces:
BaseXMLConnectorState, SecureConnectorState, XMLConnectorState, java.lang.Cloneable
Direct Known Subclasses:
HTTPConnectorState

public abstract class SecureConnectorStateImpl
extends XMLConnectorStateImpl
implements SecureConnectorState

Encapsulates the loading of the TrustDeserializerClass for connector implementations that require security.


Field Summary
 
Fields inherited from class com.metamatrix.connector.xml.base.XMLConnectorStateImpl
CACHE_ENABLED, CONNECTOR_CAPABILITES, INPUT_STREAM_FILTER_CLASS, LOG_REQUEST_RESPONSE_DOCS, logger, QUERY_PREPROCESS_CLASS, QUERY_PREPROCESS_CLASS_DEFAULT, SAX_FILTER_PROVIDER_CLASS, SAX_FILTER_PROVIDER_CLASS_DEFAULT
 
Fields inherited from interface com.metamatrix.connector.xml.SecureConnectorState
SECURITY_DESERIALIZER_CLASS
 
Fields inherited from interface com.metamatrix.connector.xml.XMLConnectorState
STATE_CLASS_PROP
 
Constructor Summary
SecureConnectorStateImpl()
           
 
Method Summary
 java.lang.String getSecurityDeserializerClass()
           
 java.util.Properties getState()
           
 TrustedPayloadHandler getTrustDeserializerInstance()
           
 void setState(ConnectorEnvironment env)
           
 
Methods inherited from class com.metamatrix.connector.xml.base.XMLConnectorStateImpl
getConnectorCapabilities, getLogger, getPluggableInputStreamFilterClass, getPreprocessor, getSAXFilterProvider, isCaching, isLogRequestResponse, isNotNullOrEmpty, isPreprocess, setLogger, setPluggableInputStreamFilterClass
 
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.XMLConnectorState
getConnection
 

Constructor Detail

SecureConnectorStateImpl

public SecureConnectorStateImpl()
Method Detail

setState

public void setState(ConnectorEnvironment env)
              throws ConnectorException
Specified by:
setState in interface BaseXMLConnectorState
Overrides:
setState in class XMLConnectorStateImpl
Throws:
ConnectorException

getState

public java.util.Properties getState()
Specified by:
getState in interface BaseXMLConnectorState
Overrides:
getState in class XMLConnectorStateImpl

getSecurityDeserializerClass

public java.lang.String getSecurityDeserializerClass()
Specified by:
getSecurityDeserializerClass in interface SecureConnectorState

getTrustDeserializerInstance

public TrustedPayloadHandler getTrustDeserializerInstance()
                                                   throws ConnectorException
Specified by:
getTrustDeserializerInstance in interface SecureConnectorState
Throws:
ConnectorException


Copyright © 2009. All Rights Reserved.