Created
April 20, 2011 06:43
-
-
Save iamkristian/930515 to your computer and use it in GitHub Desktop.
Howto expose springbeans as mbeans in your container!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="myBean" class="com.iamkristian.MyBean" factory-method="instance" /> | |
<bean class="org.springframework.jmx.export.MBeanExporter" lazy-init="false"> | |
<property name="beans"> | |
<map> | |
<entry key="bean:name=myBean" value-ref="myBean"/> | |
</map> | |
</property> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment