How to use APP on screen and fragment

I want to use AOP to log some information of the screen, I want to catch the event before entering the onInit of the screen, but when I use it, nothing happens, my code:

  • Class screen editor:
    image

  • Class AOP:
    image

-My log:
image

How can it execute onInitInLogScreen method in LogApp class?

Thanks & Regards
HungTM

Currently AOP doesn’t work in view controllers, see Spring AOP and view controller · Issue #2173 · jmix-framework/jmix · GitHub
Please add a comment in the issue, it will help us to prioritize.

Regards,
Konstantin