|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pluto.internal.PortletDescriptorRegistry
public class PortletDescriptorRegistry
Simple caching mechanism used to manage portlet descriptors. This mechanism takes special considerations to make sure that the cache is invalidated for any ServletContext that is destroyed, thus allowing for a the context to be redeployed. NOTE: This should only be used internally. Do not access it from embedding portals, instead, utilize the PortletRegistryService.
Method Summary | |
---|---|
PortletAppDD |
getPortletAppDD(javax.servlet.ServletContext servletContext)
Retrieve the Portlet Application Deployment Descriptor for the given servlet context. |
static PortletDescriptorRegistry |
getRegistry()
Returns the singleton registry instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PortletDescriptorRegistry getRegistry()
public PortletAppDD getPortletAppDD(javax.servlet.ServletContext servletContext) throws PortletContainerException
servletContext
- the servlet context.
PortletContainerException
- if the descriptor can not be found or parsed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |