Skip to content

Commit 2be837c

Browse files
committed
Clarify role of factory in javadocs
See #323
1 parent ce98bcb commit 2be837c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

spring-grpc-core/src/main/java/org/springframework/grpc/client/ImportGrpcClients.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,16 @@
6868

6969
/**
7070
* The base package classes to scan for stub implementations. If not specified,
71-
* scanning will be done from the package of the class with this annotation.
71+
* scanning will be done from the package of the class with this annotation. When a
72+
* stub is found, a client bean will be created for it using the configured
73+
* {@link #factory()}.
7274
* @return the base package classes for scanning
7375
*/
7476
Class<?>[] basePackageClasses() default {};
7577

7678
/**
77-
* The base packages to scan for stub implementations.
79+
* The base packages to scan for stub implementations. When a stub is found, a client
80+
* bean will be created for it using the configured {@link #factory()}.
7881
* @return the base packages for scanning
7982
*/
8083
String[] basePackages() default {};

0 commit comments

Comments
 (0)