You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-data-cassandra/src/main/java/org/springframework/data/cassandra/repository/config/EnableCassandraRepositories.java
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,20 @@
56
56
String[] value() default {};
57
57
58
58
/**
59
-
* Base packages to scan for annotated components. {@link #value()} is an alias for (and mutually exclusive with) this
60
-
* attribute. Use {@link #basePackageClasses()} for a type-safe alternative to String-based package names.
59
+
* Base packages to scan for annotated components.
60
+
* <p>
61
+
* {@link #value} is an alias for (and mutually exclusive with) this attribute.
62
+
* <p>
63
+
* Supports {@code ${…}} placeholders which are resolved against the {@link org.springframework.core.env.Environment
64
+
* Environment} as well as Ant-style package patterns — for example, {@code "org.example.**"}.
65
+
* <p>
66
+
* Multiple packages or patterns may be specified, either separately or within a single {@code String} — for
67
+
* example, {@code {"org.example.config", "org.example.service.**"}} or
Copy file name to clipboardExpand all lines: spring-data-cassandra/src/main/java/org/springframework/data/cassandra/repository/config/EnableReactiveCassandraRepositories.java
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -49,14 +49,26 @@
49
49
50
50
/**
51
51
* Alias for the {@link #basePackages()} attribute. Allows for more concise annotation declarations e.g.:
52
-
* {@code @EnableCassandraRepositories("org.my.pkg")} instead of
0 commit comments