|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.internal.TapestryAppInitializer
public class TapestryAppInitializer
This class is used to build the Registry
. The Registry contains
TapestryIOCModule
and TapestryModule
, any
modules identified by addModules(Class[])
)}, plus the application module.
Constructor Summary | |
---|---|
TapestryAppInitializer(org.slf4j.Logger logger,
String appPackage,
String appName)
|
|
TapestryAppInitializer(org.slf4j.Logger logger,
String appPackage,
String appName,
String aliasMode)
Deprecated. Use TapestryAppInitializer(Logger, String, String) instead. To be removed
in 5.4. |
|
TapestryAppInitializer(org.slf4j.Logger logger,
SymbolProvider appProvider,
String appName,
String executionModes)
|
|
TapestryAppInitializer(org.slf4j.Logger logger,
SymbolProvider appProvider,
String appName,
String aliasMode,
String executionModes)
Deprecated. Use TapestryAppInitializer(Logger, SymbolProvider, String, String) instead.
To be removed in 5.4. |
Method Summary | |
---|---|
void |
addModules(Class... moduleClasses)
|
void |
addModules(ModuleDef... moduleDefs)
Adds additional modules. |
void |
announceStartup()
|
Registry |
createRegistry()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TapestryAppInitializer(org.slf4j.Logger logger, String appPackage, String appName, String aliasMode)
TapestryAppInitializer(Logger, String, String)
instead. To be removed
in 5.4.
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)aliasMode
- ignored (was used in 5.2)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 aliasMode, String executionModes)
TapestryAppInitializer(Logger, SymbolProvider, String, String)
instead.
To be removed in 5.4.
logger
- logger for output confirmationappProvider
- provides symbols for the application (normally, from the ServletContext init
parameters)appName
- the name of the application (i.e., the name of the application servlet)aliasMode
- ignored (was used in 5.2 and earlier)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 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)appName
- 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)Method Detail |
---|
public void addModules(ModuleDef... moduleDefs)
moduleDefs
- public void addModules(Class... moduleClasses)
public Registry createRegistry()
public void announceStartup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |