1 18 19 20 package org.apache.struts.tiles; 21 22 import java.io.Serializable ; 23 24 import javax.servlet.ServletContext ; 25 import javax.servlet.ServletRequest ; 26 27 43 public interface DefinitionsFactory extends Serializable 44 { 45 46 55 public ComponentDefinition getDefinition(String name, ServletRequest request, ServletContext servletContext) 56 throws NoSuchDefinitionException,DefinitionsFactoryException; 57 58 67 public void init(DefinitionsFactoryConfig config, ServletContext servletContext) 68 throws DefinitionsFactoryException; 69 70 74 public void destroy(); 75 76 86 public void setConfig(DefinitionsFactoryConfig config, ServletContext servletContext) 87 throws DefinitionsFactoryException; 88 89 93 public DefinitionsFactoryConfig getConfig(); 94 95 96 } 97 | Popular Tags |