|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletRegistryService
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.
Method Summary | |
---|---|
void |
addPortletRegistryListener(PortletRegistryListener listener)
Add a listener which will recieve notifications of newly registered applications. |
org.apache.pluto.descriptors.portlet.PortletAppDD |
getPortletApplicationDescriptor(java.lang.String name)
Retrieve the portlet descriptor for the specified portlet application. |
javax.portlet.PortletContext |
getPortletContext(java.lang.String applicationId)
Retrieve the PortletContext for the specified applicationId |
java.util.Iterator |
getRegisteredPortletApplicationIds()
Retrieve the ids of all registered applications. |
java.util.Iterator |
getRegisteredPortletApplications()
Retrieve all registered applications. |
void |
removePortletRegistryListener(PortletRegistryListener listener)
Remove a previously registered listener. |
Method Detail |
---|
java.util.Iterator getRegisteredPortletApplications()
java.util.Iterator getRegisteredPortletApplicationIds()
org.apache.pluto.descriptors.portlet.PortletAppDD getPortletApplicationDescriptor(java.lang.String name) throws PortletContainerException
name
- the name of the portlet application.
PortletContainerException
- if the descriptor
can not be found or if the portlet.xml can not be parsed.javax.portlet.PortletContext getPortletContext(java.lang.String applicationId) throws PortletContainerException
applicationId
-
PortletContainerException
void addPortletRegistryListener(PortletRegistryListener listener)
listener
- the listener to addvoid removePortletRegistryListener(PortletRegistryListener listener)
listener
- the listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |