atg.dms.patchbay
Interface MessageSource

All Known Implementing Classes:
atg.nucleus.dms.DASMessageSource, ElectronicFulfiller, EventSender, EventSenderDroplet, FulfillerSystem, GenerateInvoiceMessage, GSAInvalidatorService, HardgoodFulfiller, IntegrationRepositoryTools, LocalizingInventoryManager, MarkerMessageSource, MessageForwardFilter, MessagePipelineMapper, MessageSender, NoInventoryManager, OrderCanceller, OrderCanceller, OrderChangeHandler, OrderFulfiller, PricingTools, ProcSendApprovalCompleteMessage, ProcSendApprovalMessage, ProcSendApprovalRequiredMessage, ProcSendFulfillmentMessage, ProcSendGiftPurchasedMessage, ProcSendPromotionUsedMessage, ProcSendScenarioEvent, RepositoryInventoryManager, ScheduledOrderTools, SearchEventSender, SearchMessageSource, SourceSinkTemplate

public interface MessageSource

This is the interface that must be implemented by components in the patch bay configured as message sources or message filters.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 void setMessageSourceContext(MessageSourceContext pContext)
          This notifies the MessageSource as to what its MessageSourceContext should be.
 void startMessageSource()
          This is called to tell the MessageSource that it may begin sending messages.
 void stopMessageSource()
          This is called to tell the MessageSource that it should stop sending messages.
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

setMessageSourceContext

void setMessageSourceContext(MessageSourceContext pContext)
This notifies the MessageSource as to what its MessageSourceContext should be. The context is what the component should use to generate and send out Messages. The component should not actually start to send out Messages until startMessageSource() is called. An implementation will generally store the MessageSourceContext in a member variable.


startMessageSource

void startMessageSource()
This is called to tell the MessageSource that it may begin sending messages.


stopMessageSource

void stopMessageSource()
This is called to tell the MessageSource that it should stop sending messages.