Polish Javadoc for Condition
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,16 +20,16 @@ import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
|
||||
import org.springframework.core.type.AnnotatedTypeMetadata;
|
||||
|
||||
/**
|
||||
* A single {@code condition} that must be {@linkplain #matches matched} in order
|
||||
* for a component to be registered.
|
||||
* A single condition that must be {@linkplain #matches matched} in order for a
|
||||
* component to be registered.
|
||||
*
|
||||
* <p>Conditions are checked immediately before the bean-definition is due to be
|
||||
* <p>Conditions are checked immediately before the bean definition is due to be
|
||||
* registered and are free to veto registration based on any criteria that can
|
||||
* be determined at that point.
|
||||
*
|
||||
* <p>Conditions must follow the same restrictions as {@link BeanFactoryPostProcessor}
|
||||
* <p>Conditions must follow the same restrictions as a {@link BeanFactoryPostProcessor}
|
||||
* and take care to never interact with bean instances. For more fine-grained control
|
||||
* of conditions that interact with {@code @Configuration} beans consider implementing
|
||||
* over conditions that interact with {@code @Configuration} beans, consider implementing
|
||||
* the {@link ConfigurationCondition} interface.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
|
||||
Reference in New Issue
Block a user