I am registering a Proxy that sends a notification in initializeNotifier() to inform the system that the proxy data model has been loaded (I am using a local test stub so it goes very fast). I have a registered Mediator (Registered before the Proxy in my StartupCommand) that listens for the proxies 'init_complete' notification. When the Mediator receives the notification it retrieves the proxy from the facade, but it is null. How can this be, it was registered, initializeNotifier was called...
In debugging I walk through the modules startup command and step over the registration of the proxy. The mediator has a breakpoint in handleNotification and it is triggered before register proxy returns as I step over. I 'think' my proxies multiton key had not been set before initializeNotifier was called (just a guess).
As an added note my proxy is a common proxy. Most of my modules need access to a common VO's so I have a common package with my common VO's proxies ect. I have modeled the multicore demo app and altered it to load/unload modules. This proxy was first loaded by the module shell and all was well. My first loaded module also needs this proxy and registers it to its own facade, but the second time this this problem occurs.
Any help much appreciated.