mbean
Used in: mbeans.
Description
The mbean element contains a list of mbean elements to be instantiated and registered with the coherence management infrastructure.
Elements
The following table describes the elements you can define within the mbeans element.
| Element |
Required/Optional |
Description |
| <mbean-class> |
Optional |
Specifies the class of the standard MBean to instantiate. |
| <mbean-factory> |
Optional |
Specifies the class of the factory used to instantiate the MBean |
| <mbean-query> |
Optional |
Specified the JMX ObjectName query pattern used to retrieve the MBeans |
| <mbean-accessor> |
Optional |
Specifies the accessor method on the <mbean-factory> used to instantiate the MBean. |
| <mbean-name> |
Required |
Specifies the ObjectName prefix for the MBean. |
| <local-only> |
Optional |
Controls the MBean visibility across the cluster. If set to true, the MBean is registered only with a local MBeanServer and is not accessible by other cluster nodes; otherwise the "nodeId=..." key attribute is added to its name and the MBean will be visible from any of the "managing" nodes (the ones that have the managed-nodes element set to values of all or remote-only).
Default value is false. |
| <enabled> |
Optional |
Specifies if the MBean should be registered on this instance.
Default value is false. |
| <[extend-lifecycle]> |
Optional |
Specifies if the MBean should extend beyond the node connection life cycle. If false, the MBean will be destroyed and re-created when a node is disconnected from the grid. If true, the MBean will maintain the statistics and values across connections. |