Return to Snippet

Revision: 42246
at March 2, 2011 05:54 by hkarakose


Initial Code
<bean class="org.springframework.jmx.export.MBeanExporter">
		<property name="autodetect" value="false" />
		<property name="assembler">
			<bean id="jmxAssembler"
				class="org.springframework.jmx.export.assembler.MetadataMBeanInfoAssembler">
				<property name="attributeSource">
					<bean
						class="org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource" />
				</property>

			</bean>
		</property>
		<property name="beans">
			<map>
				<entry key="org.hibernate:name=statistics">
					<bean class="org.hibernate.jmx.StatisticsService">
						<property name="statisticsEnabled" value="true" />
						<property name="sessionFactory" ref="sessionFactory" />
					</bean>

				</entry>
			</map>
		</property>
	</bean>

Initial URL

                                

Initial Description

                                

Initial Title
Hibernate Jmx Configuration in Spring

Initial Tags

                                

Initial Language
Java