1 16 17 package org.springframework.beans.factory.support; 18 19 import org.springframework.beans.factory.BeanDefinitionStoreException; 20 import org.springframework.beans.factory.NoSuchBeanDefinitionException; 21 import org.springframework.beans.factory.config.BeanDefinition; 22 23 47 public interface BeanDefinitionRegistry { 48 49 60 void registerBeanDefinition(String beanName, BeanDefinition beanDefinition) 61 throws BeanDefinitionStoreException; 62 63 69 BeanDefinition getBeanDefinition(String beanName) throws NoSuchBeanDefinitionException; 70 71 76 boolean containsBeanDefinition(String beanName); 77 78 83 String [] getBeanDefinitionNames(); 84 85 89 int getBeanDefinitionCount(); 90 91 98 void registerAlias(String beanName, String alias) throws BeanDefinitionStoreException; 99 100 105 String [] getAliases(String beanName); 106 107 } 108 | Popular Tags |