We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cce462 commit b932fafCopy full SHA for b932faf
spring-modulith-core/src/main/java/org/springframework/modulith/core/ApplicationModules.java
@@ -301,6 +301,16 @@ public Object getSource() {
301
return metadata.getSource();
302
}
303
304
+ /**
305
+ * Returns all root packages.
306
+ *
307
+ * @return will never be {@literal null}.
308
+ * @since 1.4
309
+ */
310
+ public List<JavaPackage> getRootPackages() {
311
+ return Collections.unmodifiableList(rootPackages);
312
+ }
313
+
314
/**
315
* Returns all {@link ApplicationModule}s registered as shared ones.
316
*
0 commit comments