Class BaseResolverPluginParser

    • Field Detail

      • defnId

        @Nonnull
        @NotEmpty
        private String defnId
        An Id for the definition, used for debugging messages and creating names of children.
      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
    • Constructor Detail

      • BaseResolverPluginParser

        public BaseResolverPluginParser()
    • Method Detail

      • getDefinitionId

        @Nonnull
        @NotEmpty
        protected String getDefinitionId()
        Helper for logging.
        Returns:
        the definition ID
      • getActivationCondition

        @Nullable
        protected BeanDefinitionBuilder getActivationCondition​(@Nonnull
                                                               Element config)
        Get the effective activation condition to inject.
        Parameters:
        config - configuration element
        Returns:
        condition bean definition builder, or null
      • failOnDependencies

        protected boolean failOnDependencies()
        Controls parsing of Dependencies. If it is considered an invalid configuration for this resolver to have Dependency statements, return true. The surrounding logic will fail the parse.
        Returns:
        false - by default.
      • warnOnDependencies

        protected boolean warnOnDependencies()
        Controls parsing of Dependencies. If it is considered an invalid configuration for this resolver to have Dependency statements, return true. The surrounding logic will issue warning.
        Returns:
        false - by default.
      • getLogPrefix

        @Nonnull
        @NotEmpty
        protected String getLogPrefix()
        Return a string which is to be prepended to all log messages. This is always overridden by upper parsers, but to leave this abstract would break compatibility
        Returns:
        a basic prefix.