Annotation Interface ConditionalOnTemplating


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Conditional(TemplatingExistsCondition.class) public @interface ConditionalOnTemplating
Indicates that this bean should not be created unless templating configuration exists on the classpath. This can be used for beans that are designed to only exist on the presentation layer (like processors, dialects, variable expressions, template resolvers, etc)
Author:
Phillip Verheyden (phillipuniverse)