public class TapestryAppInitializer extends Object
Registry. The Registry contains
 TapestryIOCModule and TapestryModule, any
 modules identified by addModules(Class[]) )}, plus the application module.
 The application module is optional.
 The application module is identified as package.services.appNameModule, where
 package and the appName are specified by the caller.| Constructor and Description | 
|---|
TapestryAppInitializer(org.slf4j.Logger logger,
                      String appPackage,
                      String appName)  | 
TapestryAppInitializer(org.slf4j.Logger logger,
                      SymbolProvider appProvider,
                      String appName,
                      String executionModes)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addModules(Class... moduleClasses)  | 
void | 
addModules(ModuleDef... moduleDefs)
Adds additional modules. 
 | 
void | 
announceStartup()
Announce application startup, by logging (at INFO level) the names of all pages,
 components, mixins and services. 
 | 
Registry | 
createRegistry()  | 
public TapestryAppInitializer(org.slf4j.Logger logger, String appPackage, String appName)
logger - logger for output confirmationappPackage - root package name to search for pages and componentsappName - the name of the application (i.e., the name of the application servlet)public TapestryAppInitializer(org.slf4j.Logger logger, SymbolProvider appProvider, String appName, String executionModes)
logger - logger for output confirmationappProvider - provides symbols for the application (normally, from the ServletContext init
         parameters), plus (as of 5.4) the value for symbol SymbolConstants.CONTEXT_PATHappName - the name of the application (i.e., the name of the application servlet)executionModes - an optional, comma-separated list of execution modes, each of which is used
         to find a list of additional module classes to load (key
         tapestry.name-modules in appProvider, i.e., the servlet
         context)public void addModules(ModuleDef... moduleDefs)
moduleDefs - public void addModules(Class... moduleClasses)
public Registry createRegistry()
public void announceStartup()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.