IMPORTANT: This annotation only works in a fully integrated environment; such as a Quarkus application.
Enables registration of additional components to the preconfiguredEngine.
A non-abstract, top-level or static nested class that implements one of the supported component interfaces 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, ValueResolver,
NamespaceResolver and ParserHook.
An annotated class that implements SectionHelperFactory or ParserHook must be public and 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 declare injection points. However, these injection points are only injected at runtime. If no CDI scope is
defined then javax.enterprise.context.Dependent is used.
- See Also: