Interface MessageDecorator

All Known Implementing Classes:
MessageDecorator.Same

public interface MessageDecorator
This role should be injected into a message to decorated it at the moment of sending. This technique is experimental and represents the function of a Decorator Pattern in a message-oriented design.
Author:
Fabrizio Giudici
Stereotype:
Role
  • Field Details

  • Method Details

    • getDecoratedMessage

      @Nonnull MessageSupport getDecoratedMessage()
      Returns the decorated message.
      Returns:
      the decorated message