| |
|
| org.apache.pluto.spi.optional.PortletRegistryService
All known Subclasses: org.apache.pluto.core.PortletContextManager, org.apache.pluto.driver.services.impl.resource.MockPortletRegistryService,
PortletRegistryService | public interface PortletRegistryService (Code) | | Interface defining the services used by the container
to access portlet application descriptors. The registry
acts as both internally as descriptor cache and publically
as a mechanism for notifying the container of new applications.
since: 1.1.0 |
addPortletRegistryListener | void addPortletRegistryListener(PortletRegistryListener listener)(Code) | | Add a listener which will recieve notifications of newly
registered applications.
Parameters: listener - the listener to add |
getPortletApplicationDescriptor | PortletAppDD getPortletApplicationDescriptor(String name) throws PortletContainerException(Code) | | Retrieve the portlet descriptor for the specified
portlet application. If the name does not match
the name of a contextPath registered with the container
the portlet application name must be checked.
Parameters: name - the name of the portlet application. the named portlet application descriptor. throws: PortletContainerException - if the descriptorcan not be found or if the portlet.xml can not be parsed. |
getRegisteredPortletApplicationIds | Iterator getRegisteredPortletApplicationIds()(Code) | | Retrieve the ids of all registered applications.
This list will only contain those applications
which have been registered with the container.
Others may or may not be available within
the servers.
iterator of all ids (strings). |
getRegisteredPortletApplications | Iterator getRegisteredPortletApplications()(Code) | | Retrieve all registered applications. This list
will only contain those applications which have
been registered with the container. Others may
or may not be available within the servers.
iterator of all application descriptors. |
removePortletRegistryListener | void removePortletRegistryListener(PortletRegistryListener listener)(Code) | | Remove a previously registered listener.
Parameters: listener - the listener to remove |
|
|
|