Let’s say user1 logs in and opens window1 that is controlled by controller1. We store the reference to controller1 in a singleton available at the application level. User2 logs in and opens the same window1 that is controlled by the same controller1. The two controllers are different instances (and after my understanding, ran by different threads). If user2 does update something, I want to be able to run from user2’s controller some code from user1’s controller.
something like this.
Is this possible? If this is, how can I do that?