01.02.2015 Views

Ken Cavanaugh - The Gmbal project

Ken Cavanaugh - The Gmbal project

Ken Cavanaugh - The Gmbal project

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Common Errors in Using <strong>Gmbal</strong><br />

Just a few examples<br />

I don’t have time to do complete documentation on these<br />

Examples:<br />

Registering the same object twice<br />

Unregistering an object that was previously unregistered<br />

Passing something to a register method that cannot represent an<br />

MBean (e.g. no @ManagedObject annotation)<br />

Putting @ManagedAttribute on a method that is not a valid<br />

attribute (e.g. return non-void and takes an argument)<br />

Annotating object with @AMXMetadata( isSingleton = true ) and<br />

then creating more than one instance<br />

Forgetting @NameValue on an object registered without a name<br />

Friday, December 11, 2009<br />

30

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

Saved successfully!

Ooh no, something went wrong!