Polish Javadoc for AbstractBeanDefinition

master
Sam Brannen 9 years ago
parent 2d23f42609
commit d49bf01c4a
  1. 17
      spring-beans/src/main/java/org/springframework/beans/factory/support/AbstractBeanDefinition.java

@ -36,10 +36,9 @@ import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
/** /**
* Base class for concrete, full-fledged * Base class for concrete, full-fledged {@link BeanDefinition} classes,
* {@link org.springframework.beans.factory.config.BeanDefinition} classes,
* factoring out common properties of {@link GenericBeanDefinition}, * factoring out common properties of {@link GenericBeanDefinition},
* {@link RootBeanDefinition} and {@link ChildBeanDefinition}. * {@link RootBeanDefinition}, and {@link ChildBeanDefinition}.
* *
* <p>The autowire constants match the ones defined in the * <p>The autowire constants match the ones defined in the
* {@link org.springframework.beans.factory.config.AutowireCapableBeanFactory} * {@link org.springframework.beans.factory.config.AutowireCapableBeanFactory}
@ -57,8 +56,8 @@ public abstract class AbstractBeanDefinition extends BeanMetadataAttributeAccess
implements BeanDefinition, Cloneable { implements BeanDefinition, Cloneable {
/** /**
* Constant for the default scope name: "", equivalent to singleton status * Constant for the default scope name: {@code ""}, equivalent to singleton
* but to be overridden from a parent bean definition (if applicable). * status unless overridden from a parent bean definition (if applicable).
*/ */
public static final String SCOPE_DEFAULT = ""; public static final String SCOPE_DEFAULT = "";
@ -400,11 +399,11 @@ public abstract class AbstractBeanDefinition extends BeanMetadataAttributeAccess
/** /**
* Set the name of the target scope for the bean. * Set the name of the target scope for the bean.
* <p>Default is singleton status, although this is only applied once * <p>The default is singleton status, although this is only applied once
* a bean definition becomes active in the containing factory. A bean * a bean definition becomes active in the containing factory. A bean
* definition may eventually inherit its scope from a parent bean definitionFor this * definition may eventually inherit its scope from a parent bean definition.
* reason, the default scope name is empty (empty String), with * For this reason, the default scope name is an empty string (i.e., {@code ""}),
* singleton status being assumed until a resolved scope will be set. * with singleton status being assumed until a resolved scope is set.
* @see #SCOPE_SINGLETON * @see #SCOPE_SINGLETON
* @see #SCOPE_PROTOTYPE * @see #SCOPE_PROTOTYPE
*/ */

Loading…
Cancel
Save