1 16 17 package org.springframework.beans.factory.parsing; 18 19 import org.springframework.beans.factory.config.BeanDefinition; 20 import org.springframework.beans.factory.config.BeanReference; 21 22 33 public abstract class AbstractComponentDefinition implements ComponentDefinition { 34 35 38 public String getDescription() { 39 return getName(); 40 } 41 42 45 public BeanDefinition[] getBeanDefinitions() { 46 return new BeanDefinition[0]; 47 } 48 49 52 public BeanDefinition[] getInnerBeanDefinitions() { 53 return new BeanDefinition[0]; 54 } 55 56 59 public BeanReference[] getBeanReferences() { 60 return new BeanReference[0]; 61 } 62 63 66 public String toString() { 67 return getDescription(); 68 } 69 70 } 71 | Popular Tags |