org.codehaus.plexus.velocity
Class DefaultVelocityComponent
AbstractLogEnabled
org.codehaus.plexus.velocity.DefaultVelocityComponent
- Initializable, LogSystem, VelocityComponent
public class DefaultVelocityComponent
extends AbstractLogEnabled
A simple velocity component implementation.
A typical configuration will look like this:
runtime.log.logsystem.class
org.codehaus.plexus.velocity.Log4JLoggingSystem
runtime.log.logsystem.log4j.category
org.codehaus.plexus.velocity.DefaultVelocityComponentTest
resource.loader
classpath
classpath.resource.loader.class
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
init
public void init(RuntimeServices runtimeServices)
initialize
public void initialize()
throws InitializationException
logVelocityMessage
public void logVelocityMessage(int level,
String message)