Hello,
In vSphere UI, we can add Global refresh event handler at our views which are registered in our plugin.xml by following way.
[EventHandler(name="{com.vmware.core.events.DataRefreshInvocationEvent.EVENT_ID}")]
public function onGlobalRefreshRequest(event:DataRefreshInvocationEvent):void
{
}
1. But is there any way to unregister Global refresh event handler?
2. Is there any way to listen global refresh event at module class, which is not registered at plugin.xml?
The reason behind, why i want to unregister Global refresh event handler is, It never free's the memory, hence for example if we have portlet at VM Store and Data Center, the global refresh call get invoked at both places at the same time.
Thanks in advance,
Mayur