public interface PortletRegistryService
| Modifier and Type | Method and Description |
|---|---|
void |
addPortletRegistryListener(PortletRegistryListener listener)
Add a listener which will recieve notifications of newly
registered applications.
|
org.apache.pluto.container.om.portlet.PortletDefinition |
getPortlet(String applicationName,
String portletName)
Retreive the Portlet for the specified portlet.
|
org.apache.pluto.container.om.portlet.PortletApplicationDefinition |
getPortletApplication(String applicationName)
Retrieve the PortletApp for the specified
portlet application Name.
|
Iterator<String> |
getRegisteredPortletApplicationNames()
Retrieve the names of all registered applications.
|
void |
removePortletRegistryListener(PortletRegistryListener listener)
Remove a previously registered listener.
|
Iterator<String> getRegisteredPortletApplicationNames()
org.apache.pluto.container.om.portlet.PortletApplicationDefinition getPortletApplication(String applicationName) throws org.apache.pluto.container.PortletContainerException
applicationName - the name of the portlet application.org.apache.pluto.container.PortletContainerException - if the portlet application
isn't registered.org.apache.pluto.container.om.portlet.PortletDefinition getPortlet(String applicationName, String portletName) throws org.apache.pluto.container.PortletContainerException
applicationName - portlet application nameportletName - portlet nameorg.apache.pluto.container.PortletContainerException - if portlet or application unknownvoid addPortletRegistryListener(PortletRegistryListener listener)
listener - the listener to addvoid removePortletRegistryListener(PortletRegistryListener listener)
listener - the listener to removeCopyright © 2003-2019 The Apache Software Foundation. All Rights Reserved.