Interface MessageAdditionalInformationAware


  • public interface MessageAdditionalInformationAware
    An entity can be wrapped with this interface before passing to DefaultNotificationHandler for processing. This has the eventual effect of executing a more rich version of message creation at MessageFactory.createMessage(Object, Map), with the map param being derived from the attributes pulled from entities implementing this interface.
    • Method Detail

      • unwrap

        <T> T unwrap()
        Unwrap the proxy exposing this interface, if applicable, and expose the underlying entity instance.
        Type Parameters:
        T - The entity class type
        Returns:
        The entity instance