JBoss.org Community Documentation

3.4.3.2. XMBean Examples

In this section we will develop a variation of the JNDIMap MBean introduced in the preceding section that exposes its management metadata using the JBoss XMBean framework. Our core managed component will be exactly the same core code from the JNDIMap class, but it will not implement any specific management related interface. We will illustrate the following capabilities not possible with a standard MBean:

  • The ability to add rich descriptions to attribute and operations

  • The ability to expose notification information

  • The ability to add persistence of attributes

  • The ability to add custom interceptors for security and remote access through a typed interface