1 16 package org.apache.pluto.invoker.impl; 17 18 import org.apache.pluto.factory.PortletInvokerFactory; 19 import org.apache.pluto.invoker.PortletInvoker; 20 import org.apache.pluto.om.portlet.PortletDefinition; 21 22 public class PortletInvokerFactoryImpl implements PortletInvokerFactory 23 { 24 private javax.servlet.ServletConfig servletConfig; 25 26 27 30 public PortletInvoker getPortletInvoker(PortletDefinition portletDefinition) 31 { 32 PortletInvoker invoker = new PortletInvokerImpl(portletDefinition, servletConfig); 33 return invoker; 34 } 35 36 39 public void releasePortletInvoker(PortletInvoker invoker) 40 { 41 } 42 43 46 public void init(javax.servlet.ServletConfig config, java.util.Map properties) throws Exception 47 { 48 servletConfig = config; 49 } 50 51 54 public void destroy() throws Exception 55 { 56 } 57 58 59 } 60 | Popular Tags |