目录
1
引言............................................................................................................................................ 14
1.1 1.2 1.3 1.4
2 3
编写目的 .......................................................................................................... 14 包含内容 .......................................................................................................... 14 读者对象 .......................................................................................................... 14 参考资料 .......................................................................................................... 14
软件模块标识 ............................................................................................................................ 14 基础类组件(ESB_COMMON) ........................................................................................... 16
3.1 3.2
3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.17 3.2.18 3.2.19 3.2.20 3.2.21 3.2.22 3.2.23
功能描述 .......................................................................................................... 16 接口描述 .......................................................................................................... 16
数据对象的接口申明(adbc.esb.DataObject) ....................................................... 16
服务请求接口申明(adbc.esb.ServiceRequest) .................................................... 23 服务应答接口申明(adbc.esb.ServiceResponse) .................................................. 24 带错误码的异常类型接口申明(adbc.esb.ErrorCodedException) ..................... 24 服务过滤器接口申明(adbc.esb.ServiceFilter) ..................................................... 26 错误代码定义接口申明(adbc.esb. ErrorCodes) .................................................. 27 Http报文头信息接口申明(adbc.esb. EsbHttpHeaders) ................................... 31 消息处理器接口申明(adbc.esb. MessageProcessor) .......................................... 32 通知消息接口申明(adbc.esb. Notification) ......................................................... 35
服务信息接口申明(adbc.esb. ServiceMessage) .......................................... 35 根据表达式进行取值和赋值的接口定义(adbc.esb.util.ExpressionEvaluator)44
数字ID产生器(adbc.esb.util. NumberIdGenerator) ................................ 46 脚本命令执行接口(adbc.esb.util.ShellCommandExecutor) .......................... 46 基于SQL语句的数据访问接口(adbc.esb.util.SqlBasedDao) ........................ 47 字符串ID产生器(adbc.esb.util.StringIdGenerator) ...................................... 52 认证方式定义接口(adbc.esb. AuthMethods) .................................................. 52 异常处理模式(adbc.esb. ExceptionHandleMode) .......................................... 53 异常类型(adbc.esb. ExceptionType) ................................................................ 53 管理状态定义接口(adbc.esb. ManagementStatus) ......................................... 53 处理操作接口(adbc.esb. ProcessingAction) .................................................... 54 运行模式(adbc.esb. RunMode) ......................................................................... 54 运行状态类型(adbc.esb. RuntimeType) ........................................................... 55 工作状态定义接口(adbc.esb. WorkingStatus) ................................................. 55
3.3
3.3.1 类描述 .............................................................................................................. 56 数据对象的缺省实现(adbc.esb.DefaultDataObject) .......................................... 56