public class GiftRegistryMessageMapper extends MessageMapperGenericImpl implements MessageMapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
OBJECT_TYPE
The type of an object represented by a node
|
static java.lang.String |
SERVICE_NAME_ATTRIBUTE
The service name a message should invoke
|
static java.lang.String |
STORE_ID_ATTRIBUTE
The ID of the store to which a message should be applied
|
defaultCommandClassName, NAME
Constructor and Description |
---|
GiftRegistryMessageMapper()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CommandProperty |
createFromMessage(java.lang.Object message)
If the request is an instance of java.lang.String, this method calls the parser.
|
void |
init(TypedProperty configuration)
Initializes the message mapper by initializing the message template.
|
destroy, getMessageMapperId, getMessageMapperName, setMessageMapperId, setMessageMapperName
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, getMessageMapperId, getMessageMapperName, setMessageMapperId, setMessageMapperName
public static final java.lang.String COPYRIGHT
public static final java.lang.String SERVICE_NAME_ATTRIBUTE
public static final java.lang.String STORE_ID_ATTRIBUTE
public static final java.lang.String OBJECT_TYPE
public CommandProperty createFromMessage(java.lang.Object message)
createFromMessage
in interface MessageMapper
createFromMessage
in class MessageMapperGenericImpl
message
- A message object.public void init(TypedProperty configuration)
init
in interface MessageMapper
init
in class MessageMapperGenericImpl
configuration
- A TypedProperty object representing a message mapper.