use of org.apache.pluto.container.driver.DriverPortletConfig in project uPortal by Jasig.
the class LocalPortletContextManager method getPortlet.
@Override
public PortletDefinition getPortlet(String applicationName, String portletName) throws PortletContainerException {
DriverPortletConfig ipc = portletConfigs.get(applicationName + "/" + portletName);
if (ipc != null) {
return ipc.getPortletDefinition();
}
String msg = "Unable to retrieve portlet: '" + applicationName + "/" + portletName + "'";
logger.warn(msg);
throw new PortletContainerException(msg);
}
use of org.apache.pluto.container.driver.DriverPortletConfig in project uPortal by Jasig.
the class LocalPortletContextManager method getPortletConfig.
@Override
public DriverPortletConfig getPortletConfig(String applicationName, String portletName) throws PortletContainerException {
DriverPortletConfig ipc = portletConfigs.get(applicationName + "/" + portletName);
if (ipc != null) {
return ipc;
}
String msg = "Unable to locate portlet config [applicationName=" + applicationName + "]/[" + portletName + "].";
logger.warn(msg);
throw new PortletContainerException(msg);
}
Aggregations