|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.logging.ApplicationLoggingImpl atg.commerce.order.processor.EventSender atg.commerce.order.processor.ProcSendScenarioEvent
public class ProcSendScenarioEvent
This processor sends scenario action events to the scenario server. The events are those such as ItemAddedToOrder and ItemRemovedFromOrder.
EventSender
,
ItemAddedToOrder
,
ItemRemovedFromOrder
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.commerce.order.processor.EventSender |
---|
FAILURE, SUCCESS |
Fields inherited from interface atg.service.pipeline.PipelineProcessor |
---|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
ProcSendScenarioEvent()
|
Method Summary | |
---|---|
java.io.Serializable |
createEventToSend(java.lang.Object pParam,
PipelineResult pResult)
This method creates and populates various Commerce event objects that represent messages which will be sent to the scenario engine. |
java.lang.String |
getEventType(java.lang.Object pEventToSend)
If this object is a ScenarioEvent or CommerceMessage, then that message's type is returned. |
java.lang.String |
getLoggingIdentifier()
Returns property LoggingIdentifier |
java.lang.String |
getMessageSourceName()
This defines the string that the source property of messages will be set to. |
protected java.io.Serializable |
handleOtherEventToSend(java.lang.Object pParam,
PipelineResult pResult)
This method is used to deal with other event type. |
void |
setLoggingIdentifier(java.lang.String pLoggingIdentifier)
Sets property LoggingIdentifier |
void |
setMessageSourceName(java.lang.String pMessageSourceName)
|
Methods inherited from class atg.commerce.order.processor.EventSender |
---|
getEventType, getMessageIdGenerator, getMessageIdSpaceName, getMessageSourceContext, getNextMessageId, getPortName, getRetCodes, getSiteId, isAllowMessageSending, runProcess, sendObjectMessage, setAllowMessageSending, setEventType, setMessageIdGenerator, setMessageIdSpaceName, setMessageSourceContext, setPortName, startMessageSource, stopMessageSource |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ProcSendScenarioEvent()
Method Detail |
---|
public void setLoggingIdentifier(java.lang.String pLoggingIdentifier)
setLoggingIdentifier
in class ApplicationLoggingImpl
public java.lang.String getLoggingIdentifier()
getLoggingIdentifier
in class ApplicationLoggingImpl
public java.io.Serializable createEventToSend(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
Unknown event types are passed along to handleOtherEventToSend
.
createEventToSend
in class EventSender
pParam
- the Map which contains all the message parameterspResult
- the PipelineResult object which is supplied to runProcess()
java.lang.Exception
public java.lang.String getEventType(java.lang.Object pEventToSend)
super.getEventType()
is returned.
getEventType
in class EventSender
pEventToSend
- The event that will be sent whose type
will be sent
public void setMessageSourceName(java.lang.String pMessageSourceName)
public java.lang.String getMessageSourceName()
protected java.io.Serializable handleOtherEventToSend(java.lang.Object pParam, PipelineResult pResult) throws java.lang.Exception
pParam
- the Map which contains all the message parameterspResult
- the PipelineResult object which is supplied to runProcess()
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |