|
|
@ -1,5 +1,5 @@
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Copyright 2012-2016 the original author or authors.
|
|
|
|
* Copyright 2012-2017 the original author or authors.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
@ -31,8 +31,8 @@ import org.springframework.context.annotation.Conditional;
|
|
|
|
* {@link Conditional} that only matches when the specified bean classes and/or names are
|
|
|
|
* {@link Conditional} that only matches when the specified bean classes and/or names are
|
|
|
|
* not already contained in the {@link BeanFactory}.
|
|
|
|
* not already contained in the {@link BeanFactory}.
|
|
|
|
* <p>
|
|
|
|
* <p>
|
|
|
|
* When placed on a {@code @Bean} method, the bean class default to the return type of
|
|
|
|
* When placed on a {@code @Bean} method, the bean class default to the return type of the
|
|
|
|
* the factory method:
|
|
|
|
* factory method:
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* <pre class="code">
|
|
|
|
* <pre class="code">
|
|
|
|
* @Configuration
|
|
|
|
* @Configuration
|
|
|
|