org.apache.tiles.extras.module
Class ModularTilesInitializer
java.lang.Object
   org.apache.tiles.extras.module.ModularTilesInitializer
org.apache.tiles.extras.module.ModularTilesInitializer
- All Implemented Interfaces: 
- TilesInitializer
- public class ModularTilesInitializer 
- extends Object- implements TilesInitializer
Loads Tiles modules, initializes them and destroy them at the end.
 It loads all META-INF/MANIFEST.MF files, checks for the "Tiles-Initializer"
 property that must contain a valid class name of a TilesInitializer.
 After that, initializes all found initializers, one by one. When the
 destroy() method is called, all the initializers are then destroyed.
- Since:
- 2.2.1
- Version:
- $Rev: 819196 $ $Date: 2009-09-26 21:38:30 +0200 (sab, 26 set 2009) $
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ModularTilesInitializer
public ModularTilesInitializer()
initialize
public void initialize(TilesApplicationContext preliminaryContext)
- Initializes Tiles.
 
- 
- Specified by:
- initializein interface- TilesInitializer
 
- 
- Parameters:
- preliminaryContext- The preliminary application context to use. It
 will be overwritten with the real instance later. Use a context usable
 under your current environment, like ServletTilesApplicationContext or
 PortletTilesApplicationContext.
 
destroy
public void destroy()
- Destroys the Tiles container.
 
- 
- Specified by:
- destroyin interface- TilesInitializer
 
- 
 
Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.