-
ElementDescriptionsince 1.2, for removal in 1.3. Use
ApplicationModules(org.springframework.modulith.core.ModulithMetadata,com.tngtech.archunit.base.DescribedPredicate<? super com.tngtech.archunit.core.domain.JavaClass>,boolean,com.tngtech.archunit.core.importer.ImportOption)
instead and set upModulithMetadata
to contain the packages you want to use.useApplicationModules.getSource()
insteaduseModulithMetadata.getSource()
instead.since 0.3, usePublishedEvents.TypedPublishedEvents.matching(Function, Predicate)
instead.
-
Annotation InterfaceDescriptionsince, 1.1. Prefer
org.springframework.modulith.events.ApplicationModuleListener
inspring-modulith-events-api
.
-
MethodDescriptionuse
ApplicationModules.getSource()
insteadsince 1.2, rather useModulithMetadata.getBasePackages()
that includes all packages already.useModulithMetadata.getSource()
instead.no replacement as a name-onlyDocumenter.CanvasOptions.Grouping
doesn't make any sense in the first place.since 0.3, usePublishedEvents.TypedPublishedEvents.matching(Function, Predicate)
instead.
-
ConstructorDescriptionsince 1.2, for removal in 1.3. Use
ApplicationModules(org.springframework.modulith.core.ModulithMetadata,com.tngtech.archunit.base.DescribedPredicate<? super com.tngtech.archunit.core.domain.JavaClass>,boolean,com.tngtech.archunit.core.importer.ImportOption)
instead and set upModulithMetadata
to contain the packages you want to use.
org.springframework.modulith.events.ApplicationModuleListener
inspring-modulith-events-api
.