程序包 com.walker.tcp
类 ActionCallablePostProcessor
java.lang.Object
com.walker.tcp.ActionCallablePostProcessor
- 所有已实现的接口:
org.springframework.beans.factory.config.BeanPostProcessor
public class ActionCallablePostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor
集中存放系统定义的所有
ProtocolResolver对象。
注意:一定要把默认的回车换行的ProtocolResolver配置在最后面,因为有可能其他特殊前缀的报文也会使用回车换行结尾,
因此如果出现这种情况,也能确保用户自定义的ProtocolResolver会优先被调用。- 作者:
- 时克英
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static final ActionCallable根据数据协议编号,查找要处理该业务的action实例。static final List<ActionCallable>postProcessAfterInitialization(Object bean, String beanName) static final void测试方法。从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.beans.factory.config.BeanPostProcessor
postProcessBeforeInitialization
-
构造器详细资料
-
ActionCallablePostProcessor
public ActionCallablePostProcessor()
-
-
方法详细资料
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - 指定者:
postProcessAfterInitialization在接口中org.springframework.beans.factory.config.BeanPostProcessor- 抛出:
org.springframework.beans.BeansException
-
getAction
根据数据协议编号,查找要处理该业务的action实例。- 参数:
protocolNum-- 返回:
-
getActionList
-
setTestActions
测试方法。- 参数:
map-
-