Uses of Class
org.springframework.modulith.core.SpringBean
Package
Description
Core, internal abstractions of Spring Modulith.
Documentation support for Spring Modulith.
-
Uses of SpringBean in org.springframework.modulith.core
Modifier and TypeMethodDescription(package private) static SpringBean
SpringBean.of
(com.tngtech.archunit.core.domain.JavaClass type, ApplicationModule module) Modifier and TypeMethodDescriptionApplicationModule.getSpringBeans()
Returns allSpringBean
s contained in the module. -
Uses of SpringBean in org.springframework.modulith.docs
Modifier and TypeMethodDescription(package private) List<SpringBean>
Documenter.CanvasOptions.Groupings.byGrouping
(Documenter.CanvasOptions.Grouping grouping) (package private) List<SpringBean>
Documenter.CanvasOptions.Groupings.byGroupName
(String name) static Predicate<SpringBean>
Documenter.CanvasOptions.Grouping.implementing
(Class<?> type) Helper method to create aPredicate
forSpringBean
s implementing the given interface.static Predicate<SpringBean>
Documenter.CanvasOptions.Grouping.isAnnotatedWith
(Class<? extends Annotation> type) static Predicate<SpringBean>
Documenter.CanvasOptions.Grouping.nameMatching
(String pattern) Helper method to create aPredicate
forSpringBean
s matching the given name pattern.static Predicate<SpringBean>
Helper method to create aPredicate
forSpringBean
s that are a subtype of the given one.Modifier and TypeMethodDescriptionboolean
Documenter.CanvasOptions.Grouping.matches
(SpringBean candidate) Returns whether the givenSpringBean
matches theDocumenter.CanvasOptions.Grouping
.Asciidoctor.toInlineCode
(SpringBean bean) Modifier and TypeMethodDescription(package private) void
Documenter.CanvasOptions.Groupings.forEach
(BiConsumer<Documenter.CanvasOptions.Grouping, List<SpringBean>> consumer) Documenter.CanvasOptions.groupingBy
(String name, Predicate<SpringBean> filter) Registers a component grouping with the given name and selecting filter.Documenter.CanvasOptions.groupingBy
(String name, Predicate<SpringBean> filter, String description) Registers a component grouping with the given name, selecting filter and description.Documenter.CanvasOptions.Grouping.of
(String name, Predicate<SpringBean> predicate) Creates aDocumenter.CanvasOptions.Grouping
with the given name and selectingPredicate
.Documenter.CanvasOptions.Grouping.of
(String name, Predicate<SpringBean> predicate, String description) Creates aDocumenter.CanvasOptions.Grouping
with the given name, selectingPredicate
and description.ModifierConstructorDescription(package private)