1 16 package org.apache.cocoon.portal.pluto.factory; 17 18 import java.util.Map ; 19 import javax.servlet.ServletConfig ; 20 21 import org.apache.avalon.framework.logger.AbstractLogEnabled; 22 import org.apache.pluto.factory.Factory; 23 24 25 32 public abstract class AbstractFactory 33 extends AbstractLogEnabled 34 implements Factory { 35 36 37 protected ServletConfig servletConfig; 38 39 40 protected Map properties; 41 42 45 public void init(ServletConfig config, Map properties) 46 throws Exception { 47 this.servletConfig = config; 48 this.properties = properties; 49 } 50 51 54 public void destroy() throws Exception { 55 } 57 } 58 | Popular Tags |