first commit
This commit is contained in:
39
comm/Futures/config/spring/applicationContext-futures.xml
Executable file
39
comm/Futures/config/spring/applicationContext-futures.xml
Executable file
@@ -0,0 +1,39 @@
|
||||
<?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="futuresParaService"
|
||||
class="project.futures.internal.FuturesParaServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="futuresOrderService"
|
||||
class="project.futures.internal.FuturesOrderServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="walletService" ref="walletService" />
|
||||
<property name="userDataService" ref="userDataService" />
|
||||
<property name="itemService" ref="itemService" />
|
||||
<property name="moneyLogService" ref="moneyLogService" />
|
||||
<property name="futuresParaService" ref="futuresParaService" />
|
||||
<property name="partyService" ref="partyService" />
|
||||
<property name="dataService" ref="dataService" />
|
||||
<property name="profitAndLossConfigService" ref="profitAndLossConfigService" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="profitAndLossConfigService"
|
||||
class="project.futures.internal.ProfitAndLossConfigServiceImpl" >
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
|
||||
</beans>
|
||||
67
comm/Futures/config/spring/applicationContext-futures_admin.xml
Executable file
67
comm/Futures/config/spring/applicationContext-futures_admin.xml
Executable file
@@ -0,0 +1,67 @@
|
||||
<?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="futuresParaService"
|
||||
class="project.futures.internal.FuturesParaServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="futuresOrderService"
|
||||
class="project.futures.internal.FuturesOrderServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="walletService" ref="walletService" />
|
||||
<property name="userDataService" ref="userDataService" />
|
||||
<property name="itemService" ref="itemService" />
|
||||
<property name="moneyLogService" ref="moneyLogService" />
|
||||
<property name="futuresParaService" ref="futuresParaService" />
|
||||
<property name="partyService" ref="partyService" />
|
||||
<property name="dataService" ref="dataService" />
|
||||
<property name="profitAndLossConfigService" ref="profitAndLossConfigService" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="profitAndLossConfigService"
|
||||
class="project.futures.internal.ProfitAndLossConfigServiceImpl" >
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="adminFuturesOrderService"
|
||||
class="project.futures.internal.AdminFuturesOrderServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="userRecomService" ref="userRecomService" />
|
||||
<property name="futuresOrderService" ref="futuresOrderService" />
|
||||
</bean>
|
||||
<bean id="adminFuturesParaService"
|
||||
class="project.futures.internal.AdminFuturesParaImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="futuresParaService" ref="futuresParaService" />
|
||||
</bean>
|
||||
|
||||
<bean id="adminContractManageService"
|
||||
class="project.futures.internal.AdminContractManageServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="jdbcTemplate" ref="jdbcTemplate" />
|
||||
<property name="adminItemService" ref="adminItemService" />
|
||||
<property name="adminFuturesParaService" ref="adminFuturesParaService" />
|
||||
</bean>
|
||||
|
||||
<bean id="adminProfitAndLossConfigService"
|
||||
class="project.futures.internal.AdminProfitAndLossConfigServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
61
comm/Futures/config/spring/applicationContext-futures_data.xml
Executable file
61
comm/Futures/config/spring/applicationContext-futures_data.xml
Executable file
@@ -0,0 +1,61 @@
|
||||
<?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="futuresLoadCacheService"
|
||||
class="data.loadcache.FuturesLoadCacheService">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="futuresParaService"
|
||||
class="project.futures.internal.FuturesParaServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="futuresOrderService"
|
||||
class="project.futures.internal.FuturesOrderServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="walletService" ref="walletService" />
|
||||
<property name="userDataService" ref="userDataService" />
|
||||
<property name="itemService" ref="itemService" />
|
||||
<property name="moneyLogService" ref="moneyLogService" />
|
||||
<property name="futuresParaService" ref="futuresParaService" />
|
||||
<property name="partyService" ref="partyService" />
|
||||
<property name="dataService" ref="dataService" />
|
||||
<property name="profitAndLossConfigService" ref="profitAndLossConfigService" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="profitAndLossConfigService"
|
||||
class="project.futures.internal.ProfitAndLossConfigServiceImpl" >
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="futuresOrderCalculationService"
|
||||
class="project.futures.job.FuturesOrderCalculationServiceImpl">
|
||||
<property name="futuresOrderService"
|
||||
ref="futuresOrderService" />
|
||||
</bean>
|
||||
|
||||
<bean id="futuresOrderCalculationJob"
|
||||
class="project.futures.job.FuturesOrderCalculationJob">
|
||||
<property name="futuresOrderService"
|
||||
ref="futuresOrderService" />
|
||||
<property name="futuresOrderCalculationService"
|
||||
ref="futuresOrderCalculationService" />
|
||||
</bean>
|
||||
|
||||
|
||||
|
||||
</beans>
|
||||
16
comm/Futures/config/spring/applicationContext-hibernate.xml
Executable file
16
comm/Futures/config/spring/applicationContext-hibernate.xml
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
admin
|
||||
<!-- futures -->
|
||||
<value>futuresParaService</value>
|
||||
<value>futuresOrderService</value>
|
||||
<value>profitAndLossConfigService</value>
|
||||
<value>adminFuturesOrderService</value>
|
||||
<value>adminFuturesParaService</value>
|
||||
<value>adminContractManageService</value>
|
||||
<value>adminProfitAndLossConfigService</value>
|
||||
|
||||
api
|
||||
<!-- futures -->
|
||||
<value>futuresParaService</value>
|
||||
<value>futuresOrderService</value>
|
||||
<value>profitAndLossConfigService</value>
|
||||
30
comm/Futures/config/spring/normal.xml
Executable file
30
comm/Futures/config/spring/normal.xml
Executable file
@@ -0,0 +1,30 @@
|
||||
|
||||
admin
|
||||
<action name="adminFuturesOrderAction"
|
||||
class="project.futures.web.AdminFuturesOrderAction">
|
||||
<result name="list">/futures_order_list.jsp</result>
|
||||
<result name="result_make" type="json">
|
||||
<param name="root">result_make</param>
|
||||
</result>
|
||||
<result name="holdings">/futures_holdings_list.jsp</result>
|
||||
</action>
|
||||
<action name="adminContractManageAction"
|
||||
class="project.futures.web.AdminContractManageAction">
|
||||
<result name="list">/contract_manage_list.jsp</result>
|
||||
<result name="add">/contract_manage_add.jsp</result>
|
||||
<result name="toAddInstall">/contract_install_add.jsp</result>
|
||||
<result name="listPara">/contract_para_list.jsp</result>
|
||||
</action>
|
||||
<action name="adminProfitAndLossConfigAction"
|
||||
class="project.futures.web.AdminProfitAndLossConfigAction">
|
||||
<result name="list">/profit_loss_config_list.jsp</result>
|
||||
<result name="add">/profit_loss_config_add.jsp</result>
|
||||
<result name="update">/profit_loss_config_update.jsp</result>
|
||||
</action>
|
||||
|
||||
|
||||
api
|
||||
|
||||
<action name="futuresorder"
|
||||
class="project.futures.web.FuturesOrderAction">
|
||||
</action>
|
||||
Reference in New Issue
Block a user