public class ProgramAdapterDesc
extends com.ibm.commerce.adapter.HttpAdapterDesc
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_CONFIGURATION
Constant for the adapter's configuration.
|
static java.lang.String |
_MESSAGE_MAPPERS
Constant for the adapter's configuration.
|
static java.lang.String |
_PROGRAM_ADAPTER_NODE_NAME
Constant for the adapter's configuration.
|
static java.lang.String |
_SESSION_CONTEXT
Constant for the adapter's configuration.
|
static java.lang.String |
_SESSION_CONTEXT_CLASS
Constant for the adapter's configuration.
|
static java.lang.String |
_SESSION_CONTEXT_CONFIG
Constant for the adapter's configuration.
|
static java.lang.String |
_STR_Init
Constant to represent the name of the method for logging purposes.
|
static java.lang.String |
_STR_Initialize
Constant to represent the name of the method for logging purposes.
|
static java.lang.String |
_STR_ThisClass
Constant to represent the name of the class for logging purposes.
|
static java.lang.String |
_SUPPORTED_CHARACTER_ENCODING
Constant for the adapter's configuration.
|
static java.lang.String |
_SUPPORTED_CONTENT_TYPES
Constant for the adapter's configuration.
|
static java.lang.String |
_SUPPORTED_METHODS
Constant for the adapter's configuration.
|
static java.lang.String |
_VECTOR_STRING_TOKEN
Constant for the adapter's configuration.
|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
ProgramAdapterDesc()
Creates the program adapter descriptor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getMessageMappers()
Returns a Vector object containing the supported Message Mappers.
|
com.ibm.commerce.adapter.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.
|
getDeviceFormatClass, getDeviceFormatId, getDeviceFormatName, getDeviceFormatType, getDeviceFormatTypeId, isEnabled, setDeviceFormatClass, setDeviceFormatId, setDeviceFormatName, setDeviceFormatType, setDeviceFormatTypeId, setIsEnabled
public static final java.lang.String COPYRIGHT
public static final java.lang.String _PROGRAM_ADAPTER_NODE_NAME
public static final java.lang.String _MESSAGE_MAPPERS
public static final java.lang.String _SUPPORTED_METHODS
public static final java.lang.String _SUPPORTED_CONTENT_TYPES
public static final java.lang.String _SUPPORTED_CHARACTER_ENCODING
public static final java.lang.String _CONFIGURATION
public static final java.lang.String _SESSION_CONTEXT
public static final java.lang.String _SESSION_CONTEXT_CLASS
public static final java.lang.String _SESSION_CONTEXT_CONFIG
public static final java.lang.String _VECTOR_STRING_TOKEN
public static final java.lang.String _STR_ThisClass
public static final java.lang.String _STR_Init
public static final java.lang.String _STR_Initialize
public ProgramAdapterDesc()
public java.util.Vector getMessageMappers()
public com.ibm.commerce.adapter.SessionContext getSessionContext()
public java.util.Vector getSupportedCharacterEncoding()
public java.util.Vector getSupportedContentTypes()
public java.util.Vector getSupportedMethods()
public void init(org.w3c.dom.Element node) throws java.lang.Exception
init
in class com.ibm.commerce.adapter.DeviceFormatAdapterDesc
node
- the XML configuration for the descriptor.java.lang.Exception
- if there is a problem initializing the descriptor.public void initialize(org.w3c.dom.Element adapterNode) throws java.lang.Exception
org.w3c.dom.Element
- node - the XML configuration for the Descriptor.java.lang.Exception
public void setSessionContext(ProgramAdapterSessionContext sessionContext)
sessionContext
- the session context implementation for the program adapter.