|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.PortletConfig |
getPortletConfig(java.lang.String applicationId,
java.lang.String portletName)
Retrieve the portlet configuration for the specified portlet |
javax.portlet.PortletContext |
getPortletContext(java.lang.String applicationId)
Retrieve the PortletContext for the specified applicationId |
org.apache.pluto.descriptors.portlet.PortletDD |
getPortletDescriptor(java.lang.String applicationId,
java.lang.String portletName)
Retreive the portlet descriptor for the given portlet. |
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 |
public java.util.Iterator getRegisteredPortletApplications()
public java.util.Iterator getRegisteredPortletApplicationIds()
public 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.public javax.portlet.PortletContext getPortletContext(java.lang.String applicationId) throws PortletContainerException
applicationId
- context identifier
PortletContainerException
- if internal error occurspublic org.apache.pluto.descriptors.portlet.PortletDD getPortletDescriptor(java.lang.String applicationId, java.lang.String portletName) throws PortletContainerException
applicationId
- context identifierportletName
- portlet name
PortletContainerException
- if unexpected errorpublic javax.portlet.PortletConfig getPortletConfig(java.lang.String applicationId, java.lang.String portletName) throws PortletContainerException
applicationId
- context identifierportletName
- portlet name
PortletContainerException
- if internal error occurspublic void addPortletRegistryListener(PortletRegistryListener listener)
listener
- the listener to addpublic void removePortletRegistryListener(PortletRegistryListener listener)
listener
- the listener to remove
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |