java.lang.Object
org.apache.wicket.velocity.Initializer
- All Implemented Interfaces:
IInitializer
An implementation of
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy
(Application application) void
init
(Application application)
-
Constructor Details
-
Initializer
public Initializer()
-
-
Method Details
-
init
- Specified by:
init
in interfaceIInitializer
- Parameters:
application
- The application loading the component
-
destroy
- Specified by:
destroy
in interfaceIInitializer
- Parameters:
application
- The application loading the component
-