org.apache.struts.tiles
Interface ComponentDefinitionsFactory
- Serializable
- FactorySet, I18nFactorySet, ReloadableDefinitionsFactory
public interface ComponentDefinitionsFactory
extends Serializable
Component repository interface.
This interface allows to retrieve an definition by its name, independently of the
factory implementation.
Implementation must be Serializable, in order to be compliant with web Container
having this constraint (Weblogic 6.x).
initFactory
public void initFactory(ServletContext servletContext,
Map properties)
throws DefinitionsFactoryException
Init factory.
This method is called exactly once immediately after factory creation in
case of internal creation (by DefinitionUtil).
servletContext
- Servlet Context passed to newly created factory.properties
- Map of name/property passed to newly created factory.
Map can contains more properties than requested.
Copyright B) 2000-2007 - The Apache Software Foundation