Class PublishedBeanRegistry

  • public class PublishedBeanRegistry
    extends Object
    A Registry for published Spring beans. Also allows for looking up the names of all beans registered for a given type in the given Spring bean factory

    User: nbaker Date: 3/27/13

    • Constructor Detail

      • PublishedBeanRegistry

        public PublishedBeanRegistry()
    • Method Detail

      • registerBean

        public static void registerBean​(String beanName,
                                        Class<?> clazz,
                                        Object factoryMarker)
        Register a bean for the given class. The factoryMarker is a UUID associated with the originating BeanFactory
        beanName -
        clazz -
        factoryMarker -
      • registerFactory

        public static void registerFactory​(org.springframework.context.ApplicationContext applicationContext)
      • getRegisteredFactories

        public static Set<org.springframework.beans.factory.ListableBeanFactory> getRegisteredFactories()
        Return the list of registered BeanFactories
        list of factories
      • reset

        public static void reset()