JMX

The JMX (Java Management Extensions) support in Infra provides features that let you easily and transparently integrate your Infra application into a JMX infrastructure.

JMX?

This chapter is not an introduction to JMX. It does not try to explain why you might want to use JMX. If you are new to JMX, see Further Resources at the end of this chapter.

Specifically, Infra JMX support provides four core features:

  • The automatic registration of any Infra bean as a JMX MBean.

  • A flexible mechanism for controlling the management interface of your beans.

  • The declarative exposure of MBeans over remote, JSR-160 connectors.

  • The simple proxying of both local and remote MBean resources.

These features are designed to work without coupling your application components to either Infra or JMX interfaces and classes. Indeed, for the most part, your application classes need not be aware of either Infra or JMX in order to take advantage of the Infra JMX features.