Class DefaultVelocityComponent
- java.lang.Object
-
- org.codehaus.plexus.velocity.internal.DefaultVelocityComponent
-
- All Implemented Interfaces:
VelocityComponent
@Singleton @Named public class DefaultVelocityComponent extends java.lang.Object implements VelocityComponent
Default component implementation. The presence ofVelocityComponentConfigurator
is optional.
-
-
Field Summary
-
Fields inherited from interface org.codehaus.plexus.velocity.VelocityComponent
ROLE
-
-
Constructor Summary
Constructors Constructor Description DefaultVelocityComponent(VelocityComponentConfigurator componentConfigurator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.velocity.app.VelocityEngine
getEngine()
-
-
-
Constructor Detail
-
DefaultVelocityComponent
@Inject public DefaultVelocityComponent(@Nullable VelocityComponentConfigurator componentConfigurator)
-
-
Method Detail
-
getEngine
public org.apache.velocity.app.VelocityEngine getEngine()
- Specified by:
getEngine
in interfaceVelocityComponent
-
-