The Visitor design pattern is used to separate the exception hierarchy from the code that builds the fault details.
Visitor设计模式用于把异常层次与构建故障详细信息的代码分开。
Another design pattern that lends itself well to DEBA is the Visitor pattern, which externalizes an operation that will be performed on another object, a group of objects, or a structure of objects.
另外一种可用于DEBA架构的设计模式是Visitor(访问者)模式,将操作外部化,可以对其他对象、对象组或者对象结构执行这些操作。
Another design pattern that lends itself well to DEBA is the Visitor pattern, which externalizes an operation that will be performed on another object, a group of objects, or a structure of objects.
另外一种可用于DEBA架构的设计模式是Visitor(访问者)模式,将操作外部化,可以对其他对象、对象组或者对象结构执行这些操作。
应用推荐