1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -360,8 +360,7 @@ public boolean isAlias(String beanName) {
360
360
361
361
/**
362
362
* Register a bean from the given bean class, optionally customizing its
363
- * bean definition metadata (typically declared as a lambda expression
364
- * or method reference).
363
+ * bean definition metadata (typically declared as a lambda expression).
365
364
* @param beanClass the class of the bean (resolving a public constructor
366
365
* to be autowired, possibly simply the default constructor)
367
366
* @param customizers one or more callbacks for customizing the factory's
@@ -374,10 +373,8 @@ public final <T> void registerBean(Class<T> beanClass, BeanDefinitionCustomizer.
374
373
}
375
374
376
375
/**
377
- * Register a bean from the given bean class, using the given supplier for
378
- * obtaining a new instance (typically declared as a lambda expression or
379
- * method reference), optionally customizing its bean definition metadata
380
- * (again typically declared as a lambda expression or method reference).
376
+ * Register a bean from the given bean class, optionally customizing its
377
+ * bean definition metadata (typically declared as a lambda expression).
381
378
* @param beanName the name of the bean (may be {@code null})
382
379
* @param beanClass the class of the bean (resolving a public constructor
383
380
* to be autowired, possibly simply the default constructor)
@@ -396,7 +393,7 @@ public final <T> void registerBean(
396
393
* Register a bean from the given bean class, using the given supplier for
397
394
* obtaining a new instance (typically declared as a lambda expression or
398
395
* method reference), optionally customizing its bean definition metadata
399
- * (again typically declared as a lambda expression or method reference ).
396
+ * (again typically declared as a lambda expression).
400
397
* @param beanClass the class of the bean
401
398
* @param supplier a callback for creating an instance of the bean
402
399
* @param customizers one or more callbacks for customizing the factory's
@@ -414,7 +411,7 @@ public final <T> void registerBean(
414
411
* Register a bean from the given bean class, using the given supplier for
415
412
* obtaining a new instance (typically declared as a lambda expression or
416
413
* method reference), optionally customizing its bean definition metadata
417
- * (again typically declared as a lambda expression or method reference ).
414
+ * (again typically declared as a lambda expression).
418
415
* <p>This method can be overridden to adapt the registration mechanism for
419
416
* all {@code registerBean} methods (since they all delegate to this one).
420
417
* @param beanName the name of the bean (may be {@code null})
0 commit comments