home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Spring Framework example source code file (autodetectMBeans.xml)

This example Spring Framework source code file (autodetectMBeans.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Spring Framework tags/keywords

bean, bean, doctype, doctype, public, public, spring//dtd, utf-8, utf-8

The Spring Framework autodetectMBeans.xml source code

<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">


	<bean id="server" class="org.springframework.jmx.support.MBeanServerFactoryBean"/>

	<bean id="exporter" class="org.springframework.jmx.export.MBeanExporter">
		<property name="server" ref="server"/>
		<property name="autodetect" value="true"/>
		<property name="excludedBeans" value="connector"/>

	<bean name="spring:mbean=true" class="org.springframework.jmx.export.TestDynamicMBean"/>

	<bean name="spring:mbean2=true" class="org.springframework.jmx.export.TestDynamicMBean"/>

	<bean name="spring:mbean3=true" class="org.springframework.jmx.export.TestDynamicMBean"/>

	<bean id="connector" class="org.springframework.jmx.support.ConnectorServerFactoryBean">
		<property name="server">
			<ref local="server"/>


Other Spring Framework examples (source code examples)

Here is a short list of links related to this Spring Framework autodetectMBeans.xml source code file:

my book on functional programming


new blog posts


Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.