|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.view.facelets.tag.ui.DebugPhaseListener
public class DebugPhaseListener
PhaseListener to create extended debug information. Installed in FacesConfigurator.configureLifecycle() if ProjectStage is Development.
| Constructor Summary | |
|---|---|
DebugPhaseListener()
|
|
| Method Summary | |
|---|---|
void |
afterPhase(PhaseEvent event)
|
void |
beforePhase(PhaseEvent event)
|
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. |
static Map<String,List<Object[]>> |
getDebugInfoMap(String clientId)
Returns the debug-info Map for the given component. |
static List<Object[]> |
getFieldDebugInfos(String field,
String clientId)
Returns the field's debug-infos from the component's debug-info Map. |
PhaseId |
getPhaseId()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugPhaseListener()
| Method Detail |
|---|
public static Map<String,List<Object[]>> getDebugInfoMap(String clientId)
clientId -
public static List<Object[]> getFieldDebugInfos(String field,
String clientId)
field - clientId -
public static void createFieldDebugInfo(FacesContext facesContext,
String field,
Object oldValue,
Object newValue,
String clientId)
facesContext - field - oldValue - newValue - clientId - public void afterPhase(PhaseEvent event)
afterPhase in interface PhaseListenerpublic void beforePhase(PhaseEvent event)
beforePhase in interface PhaseListenerpublic PhaseId getPhaseId()
getPhaseId in interface PhaseListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||