This package defines types for myfaces debuggging (not Myfaces itself but facelets files, Myfaces lifecycle etc.)
Aware
interfacesIdentify object that are capable to "know something" about important classes in JSF/Myfaces.
For example, the most important type in JSF is UIComponent -> ComponentAware; In Facelets Location (line/column in facelets file) is important -> LocationAware.
Example of usage. JSF/myfaces code throw many different kinds of exceptions. In exception handlig code client can use instanceof
if (e instanceof ComponentAware) { ComponentAware componentAware = (ComponentAware) e; }
to check if info about component is available.
Note: there is aAware
interface for each important type. Have all information in one big interface is not suitable, because we need to distinguish in client code: