Abstract portlet与concrete portlet
The portlet.xml deployment descriptor is used by the portal server to identify the abstract and concrete portlet applications you wish to deploy. An abstract portlet application contains one or more abstract portlets. A concrete portlet application contains one or more concrete portlets. The abstract application is used as a foundation for concrete applications. The combination of an abstract application and configuration parameters creates a concrete application. Each portlet.xml may only define a single abstract portlet application.
如下图
Concrete portlet app is composed of more than one concrete portlet.Abstract portlet app is composed of more than one abstract portlet.
Certain configuration parameters are set at the abstract level while others are set at the concrete level. As expected, parameters set at the abstract level affect each concrete application. The parameters and configuration information unique to each concrete application are represented in a PortletApplicationSettings object. Parameter and configuration information unique to each portlet are represented in the PortletSettings object. When the portlet is actually placed on a page, it is parameterized by a PortletData object.
本文探讨了portlet.xml部署描述符在门户服务器中如何区分抽象portlet应用与具体portlet应用。抽象portlet应用作为具体应用的基础,通过配置参数创建具体应用。每个portlet.xml只能定义一个抽象portlet应用。配置参数分为抽象级别和具体级别,抽象级别的设置会影响所有具体应用。
152

被折叠的 条评论
为什么被折叠?



