Class DebugPhaseListener

  • All Implemented Interfaces:
    PhaseListener, Serializable, EventListener

    public class DebugPhaseListener
    extends Object
    implements PhaseListener
    PhaseListener to create extended debug information. Installed in FacesConfigurator.configureLifecycle() if ProjectStage is Development.
    Version:
    $Revision$ $Date$
    Author:
    Jakob Korherr (latest modification by $Author$)
    See Also:
    Serialized Form
    • Constructor Detail

      • DebugPhaseListener

        public DebugPhaseListener()
    • Method Detail

      • getDebugInfoMap

        public static Map<String,​List<Object[]>> getDebugInfoMap​(String clientId)
        Returns the debug-info Map for the given component. ATTENTION: this method is duplicate in UIInput.
        Parameters:
        clientId -
        Returns:
      • getFieldDebugInfos

        public static List<Object[]> getFieldDebugInfos​(String field,
                                                        String clientId)
        Returns the field's debug-infos from the component's debug-info Map. ATTENTION: this method is duplicate in UIInput.
        Parameters:
        field -
        clientId -
        Returns:
      • createFieldDebugInfo

        public static void createFieldDebugInfo​(FacesContext facesContext,
                                                String field,
                                                Object oldValue,
                                                Object newValue,
                                                String clientId)
        Creates the field debug-info for the given field, which changed from oldValue to newValue in the given component. ATTENTION: this method is duplicate in UIInput.
        Parameters:
        facesContext -
        field -
        oldValue -
        newValue -
        clientId -