Package io.quarkus.qute
Annotation Type EngineConfiguration
-
@Target(TYPE) @Retention(RUNTIME) public @interface EngineConfiguration
IMPORTANT: This annotation only works in a fully integrated environment; such as a Quarkus application.
Enables registration of additional components to the preconfiguredEngine.A top-level or static nested class that implements one of the supported component interface and is annotated with this annotation:
- can be used during validation of templates at build time,
- is automatically registered at runtime (a) to the preconfigured
Engineand (b) as a CDI bean.
SectionHelperFactory,ValueResolverandNamespaceResolver.An annotated class that implements
SectionHelperFactorymust declare a no-args constructor that is used to instantiate the component at build time.At runtime, a CDI bean instance is used. This means that the factory can define injection points. If no CDI scope is defined then
javax.enterprise.context.Dependentis used.