public Map<String,BeanDefinition> getBeanDefinitions() {

        Map<String,BeanDefinition> beanDefinitions = new HashMap<>();
        for (String beanName : getSpringConfig().getBeanNames()) {
            BeanDefinition bd = getSpringConfig()
                    .getBeanConfig(beanName)
                    .getBeanDefinition();
            beanDefinitions.put(beanName, bd);
        }
        return beanDefinitions;
    }
public Map < String , BeanDefinition > getBeanDefinitions ( ) { Map < String , BeanDefinition > beanDefinitions = new HashMap < > ( ) ; for ( String beanName : getSpringConfig ( ) . getBeanNames ( ) ) { BeanDefinition bd = getSpringConfig ( ) . getBeanConfig ( beanName ) . getBeanDefinition ( ) ; beanDefinitions . put ( beanName , bd ) ; } return beanDefinitions ; }
Retrieves all BeanDefinitions for this BeanBuilder

@return A map of BeanDefinition instances with the bean id as the key