定义一个方法(该示例中称为断言)来创建事实,并将事实发布到工作存储器。
Define a method (called assert in this example) to create the fact and post it to the working memory.
为了实现这个portlet,首先要定义一个接口以对消息存储器的实现细节进行抽象(清单2)。
To implement this portlet, first define an interface to abstract the implementation details of the message store (Listing 2).
这个定义更改导致队列管理器将更改发布到完整存储器。
This definition change causes the queue manager to publish the changes to the full repositories.
应用推荐