public class DefaultVelocityComponent extends org.codehaus.plexus.logging.AbstractLogEnabled implements VelocityComponent, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.apache.velocity.runtime.log.LogSystem
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
ROLE
Constructor and Description |
---|
DefaultVelocityComponent() |
Modifier and Type | Method and Description |
---|---|
org.apache.velocity.app.VelocityEngine |
getEngine() |
void |
init(org.apache.velocity.runtime.RuntimeServices runtimeServices) |
void |
initialize() |
void |
logVelocityMessage(int level,
String message) |
public void initialize() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
public org.apache.velocity.app.VelocityEngine getEngine()
getEngine
in interface VelocityComponent
public void init(org.apache.velocity.runtime.RuntimeServices runtimeServices)
init
in interface org.apache.velocity.runtime.log.LogSystem
public void logVelocityMessage(int level, String message)
logVelocityMessage
in interface org.apache.velocity.runtime.log.LogSystem
Copyright © 2001-2014 Codehaus. All Rights Reserved.