Class AnnotationsUtil


  • public class AnnotationsUtil
    extends Object
    • Constructor Detail

      • AnnotationsUtil

        public AnnotationsUtil()
    • Method Detail

      • registerAnnotationConfigProcessors

        public static void registerAnnotationConfigProcessors​(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
                                                              org.kie.api.builder.ReleaseId releaseId)
        Register all relevant annotation post processors in the given registry.
        Parameters:
        registry - the registry to operate on
      • registerAnnotationConfigProcessors

        public static Set<org.springframework.beans.factory.config.BeanDefinitionHolder> registerAnnotationConfigProcessors​(org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
                                                                                                                            Object source,
                                                                                                                            org.kie.api.builder.ReleaseId releaseId)
        Register all relevant annotation post processors in the given registry.
        Parameters:
        registry - the registry to operate on
        source - the configuration source element (already extracted) that this registration was triggered from. May be null.
        Returns:
        a Set of BeanDefinitionHolders, containing all bean definitions that have actually been registered by this call