Class TargettedFacesMessage

  • All Implemented Interfaces:
    Serializable

    public final class TargettedFacesMessage
    extends Object
    implements Serializable
    A pair of a FacesMessage with its client ID.
    Since:
    7.1.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • TargettedFacesMessage

        public TargettedFacesMessage​(String clientId,
                                     javax.faces.application.FacesMessage message)
        Creates a new POJO with the given data.
        Parameters:
        clientId - Client ID of the message's target.
        message - Message to wrap.
    • Method Detail

      • getClientId

        public String getClientId()
        Returns:
        Client ID of the message's target.
      • getMessage

        public javax.faces.application.FacesMessage getMessage()
        Returns:
        The wrapped faces message.