01.02.2015 Views

Ken Cavanaugh - The Gmbal project

Ken Cavanaugh - The Gmbal project

Ken Cavanaugh - The Gmbal project

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Deferred and Suspended<br />

Registration<br />

Registration with the MBean server does not alway happen<br />

immediately<br />

MOM has a suspend/resume API to allow program to defer<br />

registration until some later point (usually after all init has completed)<br />

Problem: as soon as an MBean is registered, it can (and will!) be<br />

called asynchronously (AMX validator always runs)<br />

Can suspend before any MBeans created, then resume after all init<br />

completes<br />

MOM created by createFederated may have deferred registration<br />

Can’t create MOM root until root parent exists (AMX requirement)<br />

Transparent to <strong>Gmbal</strong> client in most ways<br />

Note that AMX is NOT started in GFv3 by default<br />

All of this is handled in the JMXRegistrationManager<br />

Friday, December 11, 2009<br />

8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!