The command design pattern 命令设计模式
The state pattern is a similar to the command pattern, but the intent is quite different.
状态模式类似于命令模式,但是意图截然不同。
Every command class created from the command pattern would write information to the log. This can include the name of the command class or any parameterized information in the pattern.
每个从command模式中建立的command类都会把信息写进日志,包括command类的名字或者模式中的任何参数信息。
Based on the command pattern, utilizing the isolation of method invocation and method execution and using centralized schedule, we designed a flexible online evolution mechanism.
基于设计模式中的命令模式,利用方法调用与方法执行分离的原则和采用集中调度控制所有方法执行的方式,设计出一种灵活的软件在线演化机制。
应用推荐