Skip to main content

Blog Archive for emcmanus during November 2008

The MXBean framework gives you a way to define MBeans with custom types, and map those types to standard ("open") types so generic clients can deal with them. Sometimes you want to do this mapping outside an MBean. For example, we recommend that the custom payload ("userData") of a Notification should use open types, but open values...
You can't construct a JMX ObjectName without handling MalformedObjectNameException, which is a checked exception. Here's why that is a pain, how to relieve that pain, and what we're doing to make it less painful in the next version. If you've done any programming at all with the JMX API, you'll have noticed that all of the ObjectName constructors, and all of the...