22. JMX

22.1 Introduction

The JMX support in Spring provides you with the features to easily and transparently integrate your Spring application into a JMX infrastructure.

Specifically, Spring's JMX support provides four core features:

  • The automatic registration of any Spring 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 Spring or JMX interfaces and classes. Indeed, for the most part your application classes need not be aware of either Spring or JMX in order to take advantage of the Spring JMX features.