public class Initializer extends Object implements IInitializer
IInitializer
for the Velocity Runtime Singleton.
If Application is an instance of WebApplication, Initializer will retrieve
"velocityPropertiesFolder" as an initparam to point to the directory the properties file lives
in, and "velocity.properties" for the name of the properties file. If the params don't exist,
then velocity.properties next to this class will be loaded.Constructor and Description |
---|
Initializer() |
Modifier and Type | Method and Description |
---|---|
void |
destroy(Application application) |
void |
init(Application application) |
public void init(Application application)
init
in interface IInitializer
application
- The application loading the componentpublic void destroy(Application application)
destroy
in interface IInitializer
application
- The application loading the componentCopyright © 2006–2022 Apache Software Foundation. All rights reserved.