Deprecated API
Contents
-
ElementDescriptionsince 1.3. Use
ApplicationModuleDetectionStrategy.explicitlyAnnotated()
instead.since 1.2, for removal in 1.3. UseApplicationModules(org.springframework.modulith.core.ModulithMetadata,com.tngtech.archunit.base.DescribedPredicate<? super com.tngtech.archunit.core.domain.JavaClass>,com.tngtech.archunit.core.importer.ImportOption)
instead and set upModulithMetadata
to contain the packages you want to use.useApplicationModules.getSource()
insteaduseModulithMetadata.getSource()
instead.since 1.3, useObservedModule.getIdentifier()
instead.since 0.3, usePublishedEvents.TypedPublishedEvents.matching(Function, Predicate)
instead.
-
Annotation InterfaceDescriptionsince, 1.1. Prefer
org.springframework.modulith.events.ApplicationModuleListener
inspring-modulith-events-api
.
-
MethodDescriptionsince 1.3. Use
ApplicationModule.getDirectDependencies(ApplicationModules, DependencyType...)
instead.since 1.3, useApplicationModule.getIdentifier()
instead.since 1.3. UseApplicationModuleDetectionStrategy.explicitlyAnnotated()
instead.useApplicationModules.getSource()
insteadsince 1.3, preferDependencyType.format(FormattableType, FormattableType)
.since 1.2, rather useModulithMetadata.getBasePackages()
that includes all packages already.useModulithMetadata.getSource()
instead.since 1.3, useModulithMetadata.getSharedModuleIdentifiers()
instead.no replacement as a name-onlyDocumenter.CanvasOptions.Grouping
doesn't make any sense in the first place.since 1.3, useEventPublication.isCompleted()
instead.since 1.3, callBrokerRouting.getTarget(Object)
instead.since 1.3, useObservedModule.getIdentifier()
instead.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>,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
.