Files
gtly/seeyon/WEB-INF/cfgHome/component/src_esign/spring/spring-bean.xml

26 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<beans default-autowire="byName"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<!-- 扫描包以发现bean-->
<context:component-scan base-package="com.seeyon.apps.esign.*"/>
<bean id="esignCallBackController" class="com.seeyon.apps.esign.controller.EsignCallBackController">
</bean>
<!-- 注册Servlet到容器 -->
<bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="mappings">
<props>
<prop key="/esign/callback">esignCallBackController</prop>
</props>
</property>
</bean>
<!-- 配置Servlet处理器适配器 -->
<bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter"/>
</beans>