com.ibm.commerce.programadapter
Class ProgramAdapterDesc

java.lang.Object
  |
  +--com.ibm.commerce.adapter.DeviceFormatAdapterDesc
        |
        +--com.ibm.commerce.adapter.HttpAdapterDesc
              |
              +--com.ibm.commerce.programadapter.ProgramAdapterDesc

public class ProgramAdapterDesc
extends HttpAdapterDesc

The Adapter Descriptor for Program Adapter that handle http requests.


Field Summary
static java.lang.String _CONFIGURATION
           
static java.lang.String _MESSAGE_MAPPERS
           
protected  java.util.Vector _Message_Mappers_Vector
           
static java.lang.String _PROGRAM_ADAPTER_NODE_NAME
           
static java.lang.String _SESSION_CONTEXT
           
protected  ProgramAdapterSessionContext _Session_Context_Class
           
static java.lang.String _SESSION_CONTEXT_CLASS
           
static java.lang.String _SESSION_CONTEXT_CONFIG
           
static java.lang.String _STR_Init
           
static java.lang.String _STR_Initialize
           
static java.lang.String _STR_ThisClass
           
static java.lang.String _SUPPORTED_CHARACTER_ENCODING
           
protected  java.util.Vector _Supported_Character_Encoding_Vector
           
static java.lang.String _SUPPORTED_CONTENT_TYPES
           
protected  java.util.Vector _Supported_Content_Types_Vector
           
static java.lang.String _SUPPORTED_METHODS
           
protected  java.util.Vector _Supported_Methods_Vector
           
static java.lang.String _VECTOR_STRING_TOKEN
           
 
Fields inherited from class com.ibm.commerce.adapter.DeviceFormatAdapterDesc
DEVFMT_ENABLED, DEVFMT_FACTORYCLASSNAME, DEVFMT_ID, DEVFMT_NAME, DEVFMT_TYPE, DEVFMT_TYPEID, devfmtClass, devfmtId, devfmtName, devfmtType, devfmtTypeId, isEnabled
 
Constructor Summary
ProgramAdapterDesc()
          HttpProgramAdapterDesc constructor.
 
Method Summary
 java.util.Vector getMessageMappers()
          Returns a Vector object containing the supported Message Mappers.
 SessionContext getSessionContext()
          Returns the session context.
 java.util.Vector getSupportedCharacterEncoding()
          Returns a Vector object containing the supported Character Encodings.
 java.util.Vector getSupportedContentTypes()
          Returns a Vector object containing the supported Content-Types.
 java.util.Vector getSupportedMethods()
          Returns a Vector object containing the supported Http Methods.
 void init(org.w3c.dom.Element node)
          Initializes the Adapter Descriptor.
 void initialize(org.w3c.dom.Element adapterNode)
          Provides further initialization setting of the Adapter Descriptor.
 void setSessionContext(ProgramAdapterSessionContext sessionContext)
          Sets the session context of the adapter.
 
Methods inherited from class com.ibm.commerce.adapter.DeviceFormatAdapterDesc
getDeviceFormatClass, getDeviceFormatId, getDeviceFormatName, getDeviceFormatType, getDeviceFormatTypeId, init, isEnabled, setDeviceFormatClass, setDeviceFormatId, setDeviceFormatName, setDeviceFormatType, setDeviceFormatTypeId, setIsEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_CONFIGURATION

public static final java.lang.String _CONFIGURATION

_MESSAGE_MAPPERS

public static final java.lang.String _MESSAGE_MAPPERS

_Message_Mappers_Vector

protected java.util.Vector _Message_Mappers_Vector

_PROGRAM_ADAPTER_NODE_NAME

public static final java.lang.String _PROGRAM_ADAPTER_NODE_NAME

_SESSION_CONTEXT

public static final java.lang.String _SESSION_CONTEXT

_Session_Context_Class

protected ProgramAdapterSessionContext _Session_Context_Class

_SESSION_CONTEXT_CLASS

public static final java.lang.String _SESSION_CONTEXT_CLASS

_SESSION_CONTEXT_CONFIG

public static final java.lang.String _SESSION_CONTEXT_CONFIG

_STR_Init

public static final java.lang.String _STR_Init

_STR_Initialize

public static final java.lang.String _STR_Initialize

_STR_ThisClass

public static final java.lang.String _STR_ThisClass

_SUPPORTED_CHARACTER_ENCODING

public static final java.lang.String _SUPPORTED_CHARACTER_ENCODING

_Supported_Character_Encoding_Vector

protected java.util.Vector _Supported_Character_Encoding_Vector

_SUPPORTED_CONTENT_TYPES

public static final java.lang.String _SUPPORTED_CONTENT_TYPES

_Supported_Content_Types_Vector

protected java.util.Vector _Supported_Content_Types_Vector

_SUPPORTED_METHODS

public static final java.lang.String _SUPPORTED_METHODS

_Supported_Methods_Vector

protected java.util.Vector _Supported_Methods_Vector

_VECTOR_STRING_TOKEN

public static final java.lang.String _VECTOR_STRING_TOKEN
Constructor Detail

ProgramAdapterDesc

public ProgramAdapterDesc()
HttpProgramAdapterDesc constructor.
Method Detail

getMessageMappers

public java.util.Vector getMessageMappers()
Returns a Vector object containing the supported Message Mappers.

getSessionContext

public SessionContext getSessionContext()
Returns the session context.

getSupportedCharacterEncoding

public java.util.Vector getSupportedCharacterEncoding()
Returns a Vector object containing the supported Character Encodings.

getSupportedContentTypes

public java.util.Vector getSupportedContentTypes()
Returns a Vector object containing the supported Content-Types.

getSupportedMethods

public java.util.Vector getSupportedMethods()
Returns a Vector object containing the supported Http Methods.

init

public void init(org.w3c.dom.Element node)
          throws java.lang.Exception
Initializes the Adapter Descriptor.
Parameters:
org.w3c.dom.Element - node - the XML configuration for the Descriptor.

initialize

public void initialize(org.w3c.dom.Element adapterNode)
                throws java.lang.Exception
Provides further initialization setting of the Adapter Descriptor.
Parameters:
org.w3c.dom.Element - node - the XML configuration for the Descriptor.

setSessionContext

public void setSessionContext(ProgramAdapterSessionContext sessionContext)
Sets the session context of the adapter.
Parameters:
com.ibm.commerce.programadapter.security.ProgramAdapterSessionContext -