如果框架与类混杂,可以添加一个工厂类,将它们装配到通用组合中,并为通用情况提供一个更简单的API。
If the framework gets cluttered with classes, you can add a factory class that assembles them into common combinations and provides a simpler API for common cases.
如果必须传入抽象工厂对象,那么您必须添加一个新的公用构造函数或赋值(mutator)方法。
If an abstract factory object must be passed in, then you must add a new public constructor or mutator.
在服务器配置编辑器的JMS页面上,在WASQueueConnectionFactories条目列表中,按以下所示添加一个新的队列连接工厂。
On the server configuration editor's JMS page, in the WASQueueConnectionFactories entries list, add a new queue connection factory with the Settings shown below.
应用推荐