phttp dynamic.xml
来源:互联网 发布:java封装继承多态详解 编辑:程序博客网 时间:2024/06/05 17:16
<?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:osgi="http://www.springframework.org/schema/osgi"xmlns:pe="http://www.csii.com.cn/schema/pe"xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans.xsdhttp://www.springframework.org/schema/osgihttp://www.springframework.org/schema/osgi/spring-osgi.xsdhttp://www.csii.com.cn/schema/pehttp://www.csii.com.cn/schema/pe/pe-1.0.xsd"><osgi:list id="appCtxServices" interface="org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext" cardinality="0..N"><osgi:listener bind-method="onBind" unbind-method="onUnbind" ref="WebModuleRegistry" /></osgi:list><osgi:reference id="httpService" interface="org.osgi.service.http.HttpService"><osgi:listener bind-method="onBind" unbind-method="onUnbind" ref="ServletRegistry" /><osgi:listener bind-method="onBindHttpService" unbind-method="onUnbindHttpService" ref="WebModuleRegistry" /></osgi:reference><osgi:reference id="ibsdbDataSource" bean-name="ibsdbDataSource"interface="javax.sql.DataSource" /><osgi:reference id="ibsdbSqlExecutor" bean-name="ibsdbSqlExecutor"interface="com.csii.pe.service.jdbc.SqlExecutor" /><osgi:reference id="ibsdbTxTemplate" bean-name="ibsdbTxTemplate"interface="org.springframework.transaction.support.TransactionTemplate" /><!--Every bundle using SQLMAPPING should set configuration seperately--><!-- ibsdb --><bean id="ibsdbSqlMapExecutor" class="org.springframework.orm.ibatis.SqlMapClientTemplate"><property name="dataSource" ref="ibsdbDataSource" /><property name="sqlMapClient"><bean class="org.springframework.orm.ibatis.SqlMapClientFactoryBean"><property name="configLocation"value="osgibundle:/META-INF/config/sql-mapping/ibsdbSqlMapConfig.xml" /></bean></property></bean><!-- specified ibsdb --><bean id="SpecifiedDbTypeSqlMapClientForIBSDB" class="com.csii.uibs.SpecifiedDbTypeSqlMapClient"><property name="sqlMap" ref="ibsdbSqlMapExecutor" /><property name="dbType" value="${SpecifiedSqlMapClientForIBSDB.dbType}" /></bean><bean id="jdbcAccessAwareProcessor" class="com.csii.pe.config.support.JdbcAccessAwareProcessor"><property name="sqlExecutor" ref="ibsdbSqlExecutor" /><property name="sqlExecutors"><map><entry key="ibsdb" value-ref="ibsdbSqlExecutor" /></map></property><property name="sqlMap" ref="ibsdbSqlMapExecutor" /><property name="sqlMaps"><map><entry key="ibsdb" value-ref="ibsdbSqlMapExecutor" /><entry key="sibsdb" value-ref="SpecifiedDbTypeSqlMapClientForIBSDB" /></map></property><property name="transactionTemplate" ref="ibsdbTxTemplate" /><property name="transactionTemplates"><map><entry key="ibsdb" value-ref="ibsdbTxTemplate" /></map></property></bean><!-- 动态Web模块注册表 --><bean id="WebModuleRegistry" class="com.csii.pe.dynamic.http.WebModuleRegistry" /><bean id="ServletRegistry" class="com.csii.ibs.pcommon.http.serlvet.WHBCMainServletRegistry"><property name="mainServlet" ref="MainServlet" /><property name="bundleContext" ref="bundleContext" /></bean><!-- <osgi:service ref="MainServlet" interface="com.csii.pe.dynamic.http.MainServlet" /> --><bean id="MainServlet" class="com.csii.pe.dynamic.http.MainServlet" /><osgi:service ref="SFtpDownloadBillTransport" interface="com.csii.pe.service.comm.Transport" /></beans>
http.xml
<?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:osgi="http://www.springframework.org/schema/osgi"xmlns:pe="http://www.csii.com.cn/schema/pe"xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans.xsdhttp://www.springframework.org/schema/osgihttp://www.springframework.org/schema/osgi/spring-osgi.xsdhttp://www.csii.com.cn/schema/pehttp://www.csii.com.cn/schema/pe/pe-1.0.xsd"><osgi:list id="appCtxServices" interface="org.springframework.osgi.context.ConfigurableOsgiBundleApplicationContext" cardinality="0..N"><osgi:listener bind-method="onBind" unbind-method="onUnbind" ref="WebModuleRegistry" /></osgi:list><osgi:reference id="httpService" interface="org.osgi.service.http.HttpService"><osgi:listener bind-method="onBind" unbind-method="onUnbind" ref="ServletRegistry" /><osgi:listener bind-method="onBindHttpService" unbind-method="onUnbindHttpService" ref="WebModuleRegistry" /></osgi:reference><osgi:reference id="ibsdbDataSource" bean-name="ibsdbDataSource"interface="javax.sql.DataSource" /><osgi:reference id="ibsdbSqlExecutor" bean-name="ibsdbSqlExecutor"interface="com.csii.pe.service.jdbc.SqlExecutor" /><osgi:reference id="ibsdbTxTemplate" bean-name="ibsdbTxTemplate"interface="org.springframework.transaction.support.TransactionTemplate" /><!--Every bundle using SQLMAPPING should set configuration seperately--><!-- ibsdb --><bean id="ibsdbSqlMapExecutor" class="org.springframework.orm.ibatis.SqlMapClientTemplate"><property name="dataSource" ref="ibsdbDataSource" /><property name="sqlMapClient"><bean class="org.springframework.orm.ibatis.SqlMapClientFactoryBean"><property name="configLocation"value="osgibundle:/META-INF/config/sql-mapping/ibsdbSqlMapConfig.xml" /></bean></property></bean><!-- specified ibsdb --><bean id="SpecifiedDbTypeSqlMapClientForIBSDB" class="com.csii.uibs.SpecifiedDbTypeSqlMapClient"><property name="sqlMap" ref="ibsdbSqlMapExecutor" /><property name="dbType" value="${SpecifiedSqlMapClientForIBSDB.dbType}" /></bean><bean id="jdbcAccessAwareProcessor" class="com.csii.pe.config.support.JdbcAccessAwareProcessor"><property name="sqlExecutor" ref="ibsdbSqlExecutor" /><property name="sqlExecutors"><map><entry key="ibsdb" value-ref="ibsdbSqlExecutor" /></map></property><property name="sqlMap" ref="ibsdbSqlMapExecutor" /><property name="sqlMaps"><map><entry key="ibsdb" value-ref="ibsdbSqlMapExecutor" /><entry key="sibsdb" value-ref="SpecifiedDbTypeSqlMapClientForIBSDB" /></map></property><property name="transactionTemplate" ref="ibsdbTxTemplate" /><property name="transactionTemplates"><map><entry key="ibsdb" value-ref="ibsdbTxTemplate" /></map></property></bean><!-- 动态Web模块注册表 --><bean id="WebModuleRegistry" class="com.csii.pe.dynamic.http.WebModuleRegistry" /><bean id="ServletRegistry" class="com.csii.ibs.pcommon.http.serlvet.WHBCMainServletRegistry"><property name="mainServlet" ref="MainServlet" /><property name="bundleContext" ref="bundleContext" /></bean><!-- <osgi:service ref="MainServlet" interface="com.csii.pe.dynamic.http.MainServlet" /> --><bean id="MainServlet" class="com.csii.pe.dynamic.http.MainServlet" /><osgi:service ref="SFtpDownloadBillTransport" interface="com.csii.pe.service.comm.Transport" /></beans>
pwebcontext 的 dynamic.xml
<?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:osgi="http://www.springframework.org/schema/osgi"xmlns:pe="http://www.csii.com.cn/schema/pe"xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans.xsdhttp://www.springframework.org/schema/osgihttp://www.springframework.org/schema/osgi/spring-osgi.xsdhttp://www.csii.com.cn/schema/pehttp://www.csii.com.cn/schema/pe/pe-1.0.xsd"><osgi:reference id="httpService" interface="org.osgi.service.http.HttpService"><osgi:listener bind-method="onBind" unbind-method="onUnbind" ref="ResourceServeltRegistry" /></osgi:reference><bean id="ResourceServeltRegistry" class="com.csii.pe.dynamic.http.resource.ResourceServeltRegistry"><property name="resourceMapping"><map><entry key="/ocx/*" value="/WebContent/ocx" /><entry key="/js/*" value="/WebContent/js" /><entry key="/css/*" value="/WebContent/css" /><entry key="/images/*" value="/WebContent/images" /><entry key="/zh_CN/*" value="/WebContent/zh_CN" /><entry key="/zh_TW/*" value="/WebContent/zh_TW" /><entry key="/en_US/*" value="/WebContent/en_US" /></map></property><property name="bundleContext" ref="bundleContext" /></bean></beans>
- phttp dynamic.xml
- Dynamic HTML and XML: The XMLHttpRequest Object
- dynamic解析Http xml格式响应数据
- 新建Dynamic web project 没有web.xml
- eclipse dynamic web project pom.xml配置
- dynamic
- @dynamic
- Dynamic
- @dynamic
- dynamic
- dynamic
- dynamic
- @dynamic
- @dynamic
- The way to dynamic validate xml against DTD
- [FLASH] Create a Dynamic Slideshow with ActionScript 3.0 and XML
- eclipse建立Dynamic Web Project 时没有web.xml
- Eclipse juno 新建Dynamic web project 没有web.xml
- 打印几个特定字符的ASCII码
- UVA 563 - Crimewave(最大流)
- 选择不相交区间
- linux下的格式问题,与读取不了最后一行
- 两个排序后的表L1和L2的交和并
- phttp dynamic.xml
- 使用命令行启动服务
- 《深入理解计算机系统》第八章 (四)信号
- 同时编译多个版本的脚本写法
- 20131203实验室工作小结——matcom的安装与简单使用
- ubuntu-CPU频率调节
- 顺序结构
- C++/C 常量
- Chrome 浏览器有狂慢的原因