---[flex-application-context.xml]---
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:flex="http://www.springframework.org/schema/flex"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
http://www.springframework.org/schema/flex http://www.springframework.org/schema/flex/spring-flex-1.0.xsd">
<!-- 加载message-broker服务的一种写法
<flex:message-broker id="_messageBroker"
services-config-path="WEB-INF/flex/services-config.xml">
<flex:mapping pattern="/messagebroker/*" />
<flex:exception-translator ref="myExceptionTranslator" />
</flex:message-broker>
-->
<!-- 加载message-broker服务-->
1 声明
<bean id="_messageBroker"
class="org.springframework.flex.core.MessageBrokerFactoryBean">
<property name="servicesConfigPath"
value="WEB-INF/flex/services-config.xml" />
</bean>
2映射
<bean
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property name="mappings">
<value>/*=_messageBroker</value>
</property>
</bean>
3MessageBrokerHandlerAdapter 实际动作 的 处理者
<bean
class="org.springframework.flex.servlet.MessageBrokerHandlerAdapter">
</bean>
以下 的 bean 注册 ,如果 项目 中 没有 加入 spring的 支持 ,则 这些 bean的注册 应该 注册 在
remoting-config.xml 配置文件中的
<!-- 以下的Bean可以直接被Flex客户端可访问RemoteObject-->
<bean id="authenticateRO"
class="com.boco.smp.system.Authenticate">
<property name="daoFactory" ref="daoFactory" />
<flex:remoting-destination />
</bean>
分享到:
相关推荐
当当elastic-job控制台jar包,elastic-job-lite-console-3.0.0.M1-SNAPSHOT,本人从git下载源码后编译生成的jar。 $ 解压 elastic-job-lite-console-3.0.0.M1-SNAPSHOT.rar $ cd elastic-job-lite-console-3.0.0.M1-...
elastic-job-lite-console-2.1.5.tar.gz elastic-job web console
基于shardingsphere-elasticjob-ui 的3.1.0版本打出来的elasticjob-lite软件包,可以解压后直接使用. 登录地址:ip:8088,登录账号/密码:root/root 在软件包中的conf/application.properties 文件中可以直接修改...
赠送jar包:xxl-job-core-2.3.0.jar; 赠送原API文档:xxl-job-core-2.3.0-javadoc.jar; 赠送源代码:xxl-job-core-2.3.0-sources.jar; 赠送Maven依赖信息文件:xxl-job-core-2.3.0.pom; 包含翻译后的API文档:...
elastic-job-lite-console 控制面板
依赖 <groupId>com.xuxueli</groupId> <artifactId>xxl-job-core <version>2.2.0-SNAPSHOT </dependency>
elastic-job-lite-console-2.1.5.zip[支持Windows/Os/Linux]
xxl-job-admin.jar运行文件
xxl-job可直接运行其中的jar文件,注意配置一下数据库即可
xxl-job-admin 作为调度中心,有可视化的web管理界面,可将其作为一个模块以源码的方式引入到我们的项目中,我们可对其进行自定义的修改,但一般不需要;xxl-job-core 是 XXL-JOB的核心,绝大多数情况下我们不用对其...
xxl-job-admin-2.4.1-SNAPSHOT之oracle版
XXL-JOB是一个轻量级分布式任务调度平台,其核心设计目标是开发迅速、学习简单、轻量级、易扩展。现已开放源代码并接入多家公司线上产品线,开箱即用。。根据官方提供的文档打包好的jar包,下载即可使用,包含对相关...
赠送jar包:xxl-job-core-2.3.0.jar 赠送原API文档:xxl-job-core-2.3.0-javadoc.jar 赠送源代码:xxl-job-core-2.3.0-sources.jar 包含翻译后的API文档:xxl-job-core-2.3.0-javadoc-API文档-中文(简体)版.zip ...
xxl-job-2.2.0deploy.zip 调度部署工具