Class JKWebMessagesController

java.lang.Object
com.jk.web.faces.controllers.JKWebController
com.jk.web.faces.controllers.JKWebMessagesController
All Implemented Interfaces:
Serializable

@Named("msg") @Eager @ApplicationScoped public class JKWebMessagesController extends JKWebController
This class is a controller, responsible for handling messages in a Java web application.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
See Also:
  • Constructor Details

    • JKWebMessagesController

      public JKWebMessagesController()
      This method constructs a new JKWebMessagesController.
  • Method Details

    • get

      public String get(String key)
      This method retrieves a message by its key.
      Parameters:
      key - Specifies the key of the message to retrieve.
      Returns:
      the message content associated with the provided key.