也就是说,可以使用一组通用的方法打开、提取、操作或保存这些不同的抽象实体的信息内容。
That is, there is a common set of ways to open, extract, manipulate, and save the information content of these diverse and abstract entities.
提取通用行为并把它们包含在泛型 DAO 中,让类的所有用户通过泛型 DAO 访问这些功能,这样就可以减少代码重复。
You can reduce code duplication by abstracting the common behavior and including it in the generic DAO, where all users of the class will have access to the functionality.
对于本文中使用消息队列框架的几个不同应用程序,框架所提供的功能都是从消息队列框架接口中提取的通用功能。
For the different applications in this article using the message queue framework, the functions provided by the framework are common, and are abstracted in the message queue framework interface.
应用推荐