站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PortletApplicationRegistry - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet.container
Interface PortletApplicationRegistry

All Known Implementing Classes:
PortletApplicationRegistryImpl

public interface PortletApplicationRegistry

Version:
$Revision: 5458 $
Author:
Julien Viet, Thomas Heute

Method Summary
 void addListener(PortletContainerRegistryListener listener)
           
 PortletApplication getPortletApplication(java.lang.String id)
          Return a portlet app using its id or null if it does not exist.
 java.util.Collection getPortletApplications()
          Return an immutable list all the known portlet application in the registry.
 PortletContainer getPortletContainer(java.lang.String id)
          Return a component using its id or null if it does not exist.
 java.util.Collection getPortletContainers()
          Return an immutable list all the known portlet container in the registry.
 void registerPortlet(PortletContainer portlet)
          Register a portlet.
 void registerPortletApplication(PortletApplication portletApplication)
          Register a portlet application.
 void removeListener(PortletContainerRegistryListener listener)
           
 void unregisterPortlet(PortletContainer portlet)
          Unregister a portlet.
 void unregisterPortletApplication(PortletApplication portletApplication)
          Unregister a portlet application.
 

Method Detail

registerPortletApplication

public void registerPortletApplication(PortletApplication portletApplication)
Register a portlet application.


unregisterPortletApplication

public void unregisterPortletApplication(PortletApplication portletApplication)
Unregister a portlet application.


registerPortlet

public void registerPortlet(PortletContainer portlet)
Register a portlet.


unregisterPortlet

public void unregisterPortlet(PortletContainer portlet)
Unregister a portlet.


getPortletApplications

public java.util.Collection getPortletApplications()
Return an immutable list all the known portlet application in the registry.


getPortletApplication

public PortletApplication getPortletApplication(java.lang.String id)
Return a portlet app using its id or null if it does not exist.


getPortletContainer

public PortletContainer getPortletContainer(java.lang.String id)
Return a component using its id or null if it does not exist.


getPortletContainers

public java.util.Collection getPortletContainers()
Return an immutable list all the known portlet container in the registry.


addListener

public void addListener(PortletContainerRegistryListener listener)

removeListener

public void removeListener(PortletContainerRegistryListener listener)