jmx-nie wiem po co ale fajna sprawa :D

This commit is contained in:
lukasgol committed 2014-04-05 12:53:15 +02:00
1 parent ce0c3a297e
commit 825ffb4b9b
3 files changed
+22

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<bean id="helloBean" class="jmx.First"/>
<bean id="mbeanServer" class="org.springframework.jmx.support.ConnectorServerFactoryBean" depends-on="registry">
<property name="objectName" value="connector:name=rmi"/>
<property name="serviceUrl"
value="service:jmx:rmi://msi-ge600/jndi/rmi://msi-ge600:1099/myconnector"/>
</bean>
<bean id="registry" class="org.springframework.remoting.rmi.RmiRegistryFactoryBean">
<property name="port" value="1099"/>
</bean>
</beans>