Listing 8 shows the JSON generated by the marshaller.
清单8显示编组程序生成的json。
Setting up a remote call (finding Home interface for example, setting up marshaller, etc.)
构建远程调用(例如查找Home接口,构建编组程序(marshaller)等。)
The MarshallerFactory is responsible for the instantiation of a marshaller which implements the Marshaller interface.
MarshallerFactory 负责 marshaller 的实例化,它实现了Marshaller接口。
It also shows dependencies on other classes, our marshaller and the business interface, as described in the two previous patterns.
它也显示了对其它类的依赖性,如前面描述的两个模式中的marshaller和业务接口。
Marshaller interface and implementation.
marshaller接口和实现。
Each Marshaller can ultimately contain a number of service-methods (such as, service1).
每个Marshaller最终都包含一定数量的服务方法(例如,service1)。
The only thing we need to look at is the dependency from the BDMockup class to the Marshaller interface.
我们需要关注的唯一一件事就是BDMockup类对Marshaller接口的依赖性。
There is no need to further specify the Marshaller interface because we will get prompted to specify the location of this class by the wizard when the pattern is applied.
没有必要去进一步指定Marshaller接口,因为应用模式时向导会提示我们指定这个类的位置。
There is no need to further specify the Marshaller interface because we will get prompted to specify the location of this class by the wizard when the pattern is applied.
没有必要去进一步指定Marshaller接口,因为应用模式时向导会提示我们指定这个类的位置。
应用推荐