Package net.tinyportal.bean

Examples of net.tinyportal.bean.PortletHolder.clone()


  public static PortletHolder getPortlet(HttpServletRequest request, String portletName) {
    HttpSession session = request.getSession(true);
    PortletHolder bean = (PortletHolder)session.getAttribute(portletName);
    if (bean == null) {
      PortletHolder legacy = portletPool.get(portletName);
      session.setAttribute(portletName, bean = legacy.clone());
    }
   
    return bean;
  }
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.