first commit
This commit is contained in:
11
comm/Item/config/applicationContext-hibernate.xml
Executable file
11
comm/Item/config/applicationContext-hibernate.xml
Executable file
@@ -0,0 +1,11 @@
|
||||
|
||||
admin
|
||||
|
||||
<!-- item -->
|
||||
<value>itemService</value>
|
||||
<value>adminItemService</value>
|
||||
<value>adminItemLeverageService</value>
|
||||
|
||||
api
|
||||
<!-- item -->
|
||||
<value>itemService</value>
|
||||
17
comm/Item/config/applicationContext-item.xml
Executable file
17
comm/Item/config/applicationContext-item.xml
Executable file
@@ -0,0 +1,17 @@
|
||||
<?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="itemService"
|
||||
class="project.item.internal.ItemServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
29
comm/Item/config/applicationContext-item_admin.xml
Executable file
29
comm/Item/config/applicationContext-item_admin.xml
Executable file
@@ -0,0 +1,29 @@
|
||||
<?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="adminItemService"
|
||||
class="project.item.internal.AdminItemServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="itemService" ref="itemService" />
|
||||
<property name="klineService" ref="klineService" />
|
||||
</bean>
|
||||
|
||||
<bean id="adminItemLeverageService"
|
||||
class="project.item.internal.AdminItemLeverageServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
</bean>
|
||||
|
||||
<bean id="itemService"
|
||||
class="project.item.internal.ItemServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
17
comm/Item/config/applicationContext-item_data.xml
Executable file
17
comm/Item/config/applicationContext-item_data.xml
Executable file
@@ -0,0 +1,17 @@
|
||||
<?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="itemService"
|
||||
class="project.item.internal.ItemServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
21
comm/Item/config/normal.xml
Executable file
21
comm/Item/config/normal.xml
Executable file
@@ -0,0 +1,21 @@
|
||||
|
||||
admin
|
||||
<action name="adminItemAction"
|
||||
class="project.item.web.AdminItemAction">
|
||||
<result name="list">/item_list.jsp</result>
|
||||
<result name="update">/item_update.jsp</result>
|
||||
<result name="add">/item_add.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="adminItemLeverageAction"
|
||||
class="project.item.web.AdminItemLeverageAction">
|
||||
<result name="list">/item_leverage_list.jsp</result>
|
||||
<result name="add">/item_leverage_add.jsp</result>
|
||||
</action>
|
||||
|
||||
|
||||
api
|
||||
|
||||
<action name="withdraw"
|
||||
class="project.withdraw.web.WithdrawAction">
|
||||
</action>
|
||||
Reference in New Issue
Block a user