<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
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-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<bean class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"/>
<bean id="invokeServer" class="com.java.hessian.invoke.InvokeServer" />
<bean name="/invokeServer"
class="org.springframework.remoting.caucho.HessianServiceExporter">
<property name="service" ref="invokeServer" />
<property name="serviceInterface" value="com.java.MapRemoteInvoke" />
</bean>
</beans>
转载请注明原文地址: https://www.6miu.com/read-2614285.html