public interface PortletContextService
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader(String applicationName)
Retrieve the ClassLoader of the specified portlet application
|
DriverPortletConfig |
getPortletConfig(String applicationName,
String portletName)
Retrieve the portlet configuration for the specified portlet
|
DriverPortletContext |
getPortletContext(org.apache.pluto.container.PortletWindow portletWindow)
Retrieve the InternalPortletContext for the specified portlet window
|
DriverPortletContext |
getPortletContext(String applicationName)
Retrieve the InternalPortletContext for the specified portlet application name
|
Iterator<DriverPortletContext> |
getPortletContexts()
Retrieve all registered applications.
|
String |
register(javax.servlet.ServletConfig config)
Register a portlet application
|
void |
unregister(DriverPortletContext context)
Unregister a portlet application
|
Iterator<DriverPortletContext> getPortletContexts()
DriverPortletContext getPortletContext(String applicationName) throws org.apache.pluto.container.PortletContainerException
applicationName - portlet application nameorg.apache.pluto.container.PortletContainerExceptionDriverPortletContext getPortletContext(org.apache.pluto.container.PortletWindow portletWindow) throws org.apache.pluto.container.PortletContainerException
portletWindow - portlet windoworg.apache.pluto.container.PortletContainerExceptionDriverPortletConfig getPortletConfig(String applicationName, String portletName) throws org.apache.pluto.container.PortletContainerException
applicationName - portlet application nameportletName - portlet nameorg.apache.pluto.container.PortletContainerException - if portlet or application unknownClassLoader getClassLoader(String applicationName) throws org.apache.pluto.container.PortletContainerException
applicationName - portlet application nameorg.apache.pluto.container.PortletContainerExceptionString register(javax.servlet.ServletConfig config) throws org.apache.pluto.container.PortletContainerException
config - org.apache.pluto.container.PortletContainerExceptionvoid unregister(DriverPortletContext context)
context - Copyright © 2003-2019 The Apache Software Foundation. All Rights Reserved.