Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

Remove Global Refresh Event Handler

$
0
0

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


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>