How to replace the Spring jmx bean with Blueprint

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to replace the Spring jmx bean with Blueprint

XiLai Dai

Hi there,


Does anyone has experience/suggestions on how to replace the Spring jmx bean with Blueprint?

{code}

  •     <bean id="server" class="org.springframework.jmx.support.ConnectorServerFactoryBean" depends-on="registry">  
  •         <property name="objectName">  
  •             <value>connector:name=rmi</value>  
  •         </property>  
  •         <property name="serviceUrl">  
  •             <value>service:jmx:rmi://localhost/jndi/rmi://localhost:1099/jmxrmi</value>  
  •         </property>  
  •     </bean>  
  •     <bean id="registry" class="org.springframework.remoting.rmi.RmiRegistryFactoryBean">  
  •         <property name="port">  
  •             <value>1099</value>  
  •         </property>      </bean>
    {code}


    Thanks in advance!

    Xilai