first commit
This commit is contained in:
4
comm/Tip/config/spring/applicationContext-hibernate.xml
Executable file
4
comm/Tip/config/spring/applicationContext-hibernate.xml
Executable file
@@ -0,0 +1,4 @@
|
||||
|
||||
api
|
||||
<!--tip -->
|
||||
<value>tipService</value>
|
||||
24
comm/Tip/config/spring/applicationContext-tip.xml
Executable file
24
comm/Tip/config/spring/applicationContext-tip.xml
Executable file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://code.alibabatech.com/schema/dubbo
|
||||
http://code.alibabatech.com/schema/dubbo/dubbo.xsd ">
|
||||
|
||||
|
||||
<!-- <bean id="tipService"
|
||||
class="project.tip.internal.TipServiceImpl" init-method="init">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="secUserService" ref="secUserService" />
|
||||
<property name="jdbcTemplate" ref="jdbcTemplate" />
|
||||
</bean>
|
||||
|
||||
<dubbo:service
|
||||
interface="project.tip.TipService"
|
||||
ref="tipService" /> -->
|
||||
<dubbo:reference id="tipService"
|
||||
interface="project.tip.TipService" check="false" />
|
||||
|
||||
|
||||
</beans>
|
||||
13
comm/Tip/config/spring/applicationContext-tip_admin.xml
Executable file
13
comm/Tip/config/spring/applicationContext-tip_admin.xml
Executable file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://code.alibabatech.com/schema/dubbo
|
||||
http://code.alibabatech.com/schema/dubbo/dubbo.xsd ">
|
||||
|
||||
<dubbo:reference id="tipService"
|
||||
interface="project.tip.TipService" check="false" />
|
||||
|
||||
</beans>
|
||||
22
comm/Tip/config/spring/applicationContext-tip_data.xml
Executable file
22
comm/Tip/config/spring/applicationContext-tip_data.xml
Executable file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://code.alibabatech.com/schema/dubbo
|
||||
http://code.alibabatech.com/schema/dubbo/dubbo.xsd ">
|
||||
|
||||
<!-- init-method="init" -->
|
||||
|
||||
<bean id="tipService"
|
||||
class="project.tip.internal.TipServiceImpl" init-method="init">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="secUserService" ref="secUserService" />
|
||||
<property name="jdbcTemplate" ref="jdbcTemplate" />
|
||||
</bean>
|
||||
|
||||
<dubbo:service
|
||||
interface="project.tip.TipService"
|
||||
ref="tipService" />
|
||||
</beans>
|
||||
10
comm/Tip/config/spring/normal.xml
Executable file
10
comm/Tip/config/spring/normal.xml
Executable file
@@ -0,0 +1,10 @@
|
||||
admin
|
||||
<action name="adminTipAction"
|
||||
class="project.tip.web.AdminTipAction">
|
||||
<result name="result_make" type="json">
|
||||
<param name="root">result_make</param>
|
||||
</result>
|
||||
</action>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user