@EventMethod(
portletName = "AnnotationPortletConfigTests_SPEC2_28_EventDeclaration",
processingEvents = @PortletQName(
localPart = "AnnotationPortletConfigTests_SPEC2_28_EventDeclaration_a",
namespaceURI = "http://www.apache.org/portals/pluto/portlet-tck_3.0"
),
publishingEvents = {
@PortletQName(
localPart = "AnnotationPortletConfigTests_SPEC2_28_EventDeclaration_b",
namespaceURI = "http://www.apache.org/portals/pluto/portlet-tck_3.0"
)
}
)
public void processEvent_a(EventRequest portletReq, EventResponse portletResp)
throws PortletException, IOException {
QName eventQName = new QName(
"http://www.apache.org/portals/pluto/portlet-tck_3.0",
"AnnotationPortletConfigTests_SPEC2_28_EventDeclaration_b");
portletResp.setEvent(eventQName, "Hi!");
}
AnnotationPortletConfigTests_SPEC2_28_EventDeclaration.java 文件源码
java
阅读 16
收藏 0
点赞 0
评论 0
项目:portals-pluto
作者:
评论列表
文章目录