Listen to Component repaint

Hello all,

a short question:

is it somehow possible to listen to repaint events of components? Or if they are marked as dirty?

This has not absolutely to be by listening to the component itself, also an event that is triggered if the ui is refreshed or repainted would be sufficient for me. Or if changes are send to the client.

Thanks in advance!

EDIT:
I am using this in an CDI Environment, basically it would also be ok if I could listen to a certain method of my UI-class. What came into my mind of course was to use an interceptor. But somehow I can’t get an interceptor to work on the UI-class. Is the UI-class itself somehow @UiScoped?