Class BeanManagerAdapter


  • public class BeanManagerAdapter
    extends Object
    Adapter for CDI BeanManager which extends default BeanManger functionality
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH, Dresden - 08.11.2020
    • Method Detail

      • addBeans

        public static void addBeans​(Set<Class<?>> beanClasses)
        Adds the given bean classes as runtime beans to the CDI instance
        Parameters:
        beanClasses - Set of bean classes to register in CDI instance
      • removeBeans

        public static void removeBeans​(Set<Class<?>> beanClasses)
        Removes the given bean classes from the CDI instance
        Parameters:
        beanClasses - Set of bean classes to unregister from CDI instance