Package org.apache.wicket.velocity
Class Initializer
- java.lang.Object
-
- org.apache.wicket.velocity.Initializer
-
- All Implemented Interfaces:
IInitializer
public class Initializer extends Object implements IInitializer
An implementation ofIInitializer
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
Constructors Constructor Description Initializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy(Application application)
void
init(Application application)
-
-
-
Constructor Detail
-
Initializer
public Initializer()
-
-
Method Detail
-
init
public void init(Application application)
- Specified by:
init
in interfaceIInitializer
- Parameters:
application
- The application loading the component
-
destroy
public void destroy(Application application)
- Specified by:
destroy
in interfaceIInitializer
- Parameters:
application
- The application loading the component
-
-