Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAdvisor(Object, Advisor) - Method in class org.springframework.modulith.observability.ModuleTracingSupport
- addAdvisor(Object, Advisor, Consumer<ProxyFactory>) - Method in class org.springframework.modulith.observability.ModuleTracingSupport
- additionalPackages() - Element in annotation interface org.springframework.modulith.Modulith
-
Defines which additional packages shall be considered as modulith base packages in addition to the one of the class carrying this annotation.
- additionalPackages() - Element in annotation interface org.springframework.modulith.Modulithic
-
Defines which additional packages shall be considered as modulith base packages in addition to the one of the class carrying this annotation.
- afterEach(ExtensionContext) - Method in class org.springframework.modulith.test.PublishedEventsParameterResolver
- afterEach(ExtensionContext) - Method in class org.springframework.modulith.test.ScenarioParameterResolver
- afterPropertiesSet() - Method in class org.springframework.modulith.events.jdbc.DatabaseSchemaInitializer
- afterSingletonsInstantiated() - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- AggregateTestUtils - Class in org.springframework.modulith.test
-
Test utilities to work with aggregates.
- AggregateTestUtils() - Constructor for class org.springframework.modulith.test.AggregateTestUtils
- ALL - Enum constant in enum class org.springframework.modulith.core.DependencyDepth
- ALL_DEPENDENCIES - Enum constant in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Bootstraps the current module as well as all upstream dependencies (including transitive ones).
- allBut(Collection<DependencyType>) - Static method in enum class org.springframework.modulith.core.DependencyType
-
Returns all
DependencyType
s except the given ones. - allBut(Stream<DependencyType>) - Static method in enum class org.springframework.modulith.core.DependencyType
- allBut(DependencyType...) - Static method in enum class org.springframework.modulith.core.DependencyType
-
Returns all
DependencyType
s except the given ones. - allFrom(JavaCodeUnit) - Static method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- allowedDependencies() - Element in annotation interface org.springframework.modulith.ApplicationModule
-
List the names of modules that the module is allowed to depend on.
- analyze(Throwable, MissingRuntimeDependency) - Method in class org.springframework.modulith.runtime.autoconfigure.MissingRuntimeDependencyFailureAnalyzer
- and() - Method in class org.springframework.modulith.test.PublishedEventsAssert.PublishedEventAssert
-
Syntactic sugar to start a new assertion on a different type of event.
- and(Iterable<NamedInterface>) - Method in class org.springframework.modulith.core.NamedInterfaces
-
Creates a new
NamedInterfaces
instance with the givenNamedInterface
s added. - and(RuntimeException) - Method in exception org.springframework.modulith.core.Violations
-
Creates a new
Violations
with the givenRuntimeException
added to the current ones? - and(String) - Method in exception org.springframework.modulith.core.Violations
- and(Collection<JavaClass>) - Method in class org.springframework.modulith.core.Classes
-
Returns a Classes with the current elements and the given other ones combined.
- and(Classes) - Method in class org.springframework.modulith.core.Classes
- and(Violations) - Method in exception org.springframework.modulith.core.Violations
- andCleanup(Runnable) - Method in class org.springframework.modulith.test.Scenario.When
- andCleanup(Consumer<T>) - Method in class org.springframework.modulith.test.Scenario.When
- andExpect(Class<E>) - Method in class org.springframework.modulith.test.Scenario.When.StateChangeResult
-
Expects an event of the given type to arrive eventually.
- andKey(String) - Method in class org.springframework.modulith.events.RoutingTarget.RoutingTargetBuilder
-
Returns a new
RoutingTarget
with the already configured target and the given key. - andVerify(BiConsumer<S, T>) - Method in class org.springframework.modulith.test.Scenario.When.StateChangeResult
-
Verifies the state change result and stimulus result using the given
BiConsumer
. - andVerify(Consumer<S>) - Method in class org.springframework.modulith.test.Scenario.When.StateChangeResult
-
Verifies the state change result using the given
Consumer
. - andVerifyEvents(Consumer<AssertablePublishedEvents>) - Method in class org.springframework.modulith.test.Scenario.When.StateChangeResult
-
Verifies the underlying
AssertablePublishedEvents
. - andWaitAtMost(Duration) - Method in class org.springframework.modulith.test.Scenario.When
-
Configures the
Scenario
to wait for at most the given duration for an event of the subsequent specification to arrive. - andWaitForEventOfType(Class<E>) - Method in class org.springframework.modulith.test.Scenario.When
-
Expects an event of the given type to arrive.
- andWaitForStateChange(Supplier<S>) - Method in class org.springframework.modulith.test.Scenario.When
-
Expects a particular state change on the module to produce a result.
- andWaitForStateChange(Supplier<S>, Predicate<? super S>) - Method in class org.springframework.modulith.test.Scenario.When
-
Expects a particular state change on the module to produce a result and uses the given
Predicate
to determine whether the value is conclusive. - annotatedAsExternalized() - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
A
Predicate
to select all events annotated as to be externalized. - ANNOTATION_MISSING - Static variable in interface org.springframework.modulith.core.ModulithMetadata
- AnnotationModulithMetadata - Class in org.springframework.modulith.core
-
ModulithMetadata
backed by aModulithic
annotated type. - AnnotationTargetLookup - Class in org.springframework.modulith.events
-
An annotation based target lookup strategy to enable caching of the function lookups that involve classpath checks.
- APPLICATION_LISTENER - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- applicationEventMulticaster(ObjectFactory<EventPublicationRegistry>, ObjectFactory<Environment>) - Static method in class org.springframework.modulith.events.config.EventPublicationAutoConfiguration
- applicationEventMulticaster(ObjectFactory<EventPublicationRegistry>, ObjectFactory<Environment>) - Static method in class org.springframework.modulith.events.config.EventPublicationConfiguration
- ApplicationModule - Class in org.springframework.modulith.core
-
An application module.
- ApplicationModule - Annotation Interface in org.springframework.modulith
-
Annotation to customize information of a
Modulith
module. - ApplicationModule(JavaPackage, boolean) - Constructor for class org.springframework.modulith.core.ApplicationModule
-
Creates a new
ApplicationModule
for the given base package and whether to use fully-qualified module names. - ApplicationModule.DeclaredDependencies - Class in org.springframework.modulith.core
-
A collection wrapper for
ApplicationModule.DeclaredDependency
instances. - ApplicationModule.DeclaredDependency - Class in org.springframework.modulith.core
- ApplicationModule.QualifiedDependency - Class in org.springframework.modulith.core
- ApplicationModuleDependencies - Class in org.springframework.modulith.core
-
The materialized, in other words actually present, dependencies of the current module towards other modules.
- ApplicationModuleDependency - Interface in org.springframework.modulith.core
-
A dependency between two
ApplicationModule
s. - ApplicationModuleDetectionStrategies - Enum Class in org.springframework.modulith.core
-
Default implementations of
ApplicationModuleDetectionStrategy
. - ApplicationModuleDetectionStrategy - Interface in org.springframework.modulith.core
-
Strategy interface to customize which packages are considered module base packages.
- ApplicationModuleInformation - Interface in org.springframework.modulith.core
-
Abstraction for low-level module information.
- ApplicationModuleInformation.JMoleculesModule - Class in org.springframework.modulith.core
-
An
ApplicationModuleInformation
for the jMoleculesModule
annotation. - ApplicationModuleInformation.SpringModulithModule - Class in org.springframework.modulith.core
-
An
ApplicationModuleInformation
that inspects theApplicationModule
annotation. - ApplicationModuleInitializer - Interface in org.springframework.modulith
-
An interface to be implemented by Spring components that are supposed to be initialized on
ApplicationStartedEvent
. - applicationModuleInitializingListener(ListableBeanFactory) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- ApplicationModuleListener - Annotation Interface in org.springframework.modulith
-
An
ApplicationModuleListener
is anAsync
SpringTransactionalEventListener
that runs in a transaction itself. - ApplicationModules - Class in org.springframework.modulith.core
- ApplicationModules(ModulithMetadata, Collection<String>, DescribedPredicate<JavaClass>, boolean, ImportOption) - Constructor for class org.springframework.modulith.core.ApplicationModules
- ApplicationModules.Filters - Class in org.springframework.modulith.core
- applicationModulesEndpoint(ApplicationModulesRuntime) - Method in class org.springframework.modulith.actuator.autoconfigure.ApplicationModulesEndpointConfiguration
- ApplicationModulesEndpoint - Class in org.springframework.modulith.actuator
-
A Spring Boot actuator endpoint to expose the application module structure of a Spring Modulith based application.
- ApplicationModulesEndpoint(Supplier<ApplicationModules>) - Constructor for class org.springframework.modulith.actuator.ApplicationModulesEndpoint
-
Creates a new
ApplicationModulesEndpoint
for the givenApplicationModules
. - ApplicationModulesEndpointConfiguration - Class in org.springframework.modulith.actuator.autoconfigure
-
Auto-configuration for the
ApplicationModulesEndpoint
. - ApplicationModulesEndpointConfiguration() - Constructor for class org.springframework.modulith.actuator.autoconfigure.ApplicationModulesEndpointConfiguration
- ApplicationModulesExporter - Class in org.springframework.modulith.core.util
-
Export the structure of
ApplicationModules
as JSON. - ApplicationModulesExporter(ApplicationModules) - Constructor for class org.springframework.modulith.core.util.ApplicationModulesExporter
-
Creates a new
ApplicationModulesExporter
for the givenApplicationModules
. - ApplicationModulesRuntime - Class in org.springframework.modulith.runtime
-
Bootstrap type to make sure we only bootstrap the initialization of a
ApplicationModules
instance once per application class. - ApplicationModulesRuntime(Supplier<ApplicationModules>, ApplicationRuntime) - Constructor for class org.springframework.modulith.runtime.ApplicationModulesRuntime
- ApplicationModuleTest - Annotation Interface in org.springframework.modulith.test
-
Bootstraps the module containing the package of the test class annotated with
ApplicationModuleTest
. - ApplicationModuleTest.BootstrapMode - Enum Class in org.springframework.modulith.test
- ApplicationRuntime - Interface in org.springframework.modulith.runtime
-
Abstraction of the application runtime environment.
- ArchitecturallyEvidentType - Class in org.springframework.modulith.core
-
A type that is architecturally relevant, i.e.
- ArchitecturallyEvidentType(JavaClass) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType
- ArchitecturallyEvidentType.DelegatingType - Class in org.springframework.modulith.core
- ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType - Class in org.springframework.modulith.core
- ArchitecturallyEvidentType.ReferenceMethod - Class in org.springframework.modulith.core
- ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType - Class in org.springframework.modulith.core
- ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType - Class in org.springframework.modulith.core
- ArchUnitRuntimeDependencyMissingConfiguration() - Constructor for class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration.ArchUnitRuntimeDependencyMissingConfiguration
- areRulesPresent() - Static method in class org.springframework.modulith.core.Types.JMoleculesTypes
- Asciidoctor - Class in org.springframework.modulith.docs
- asJavaClasses() - Method in class org.springframework.modulith.core.NamedInterface
-
Returns a
Stream
of allJavaClass
es contained in this interface. - AssertablePublishedEvents - Interface in org.springframework.modulith.test
-
An AssertJ-based extension of
PublishedEvents
to obtain fluent assertions. - assertThat() - Method in interface org.springframework.modulith.test.AssertablePublishedEvents
- AsyncEnablingConfiguration() - Constructor for class org.springframework.modulith.events.config.EventPublicationAutoConfiguration.AsyncEnablingConfiguration
- asyncPropertiesDefaulter(Environment) - Static method in class org.springframework.modulith.events.config.EventPublicationAutoConfiguration
- AsyncPropertiesDefaulter(Environment) - Constructor for class org.springframework.modulith.events.config.EventPublicationAutoConfiguration.AsyncPropertiesDefaulter
- AT_ASYNC - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_AUTOWIRED - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_BEAN - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_COMPONENT - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_CONFIGURATION - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_CONFIGURATION_PROPERTIES - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_CONTROLLER - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_DOMAIN_EVENT - Static variable in class org.springframework.modulith.core.Types.JMoleculesTypes
- AT_DOMAIN_EVENT_HANDLER - Static variable in class org.springframework.modulith.core.Types.JMoleculesTypes
- AT_ENTITY - Static variable in class org.springframework.modulith.core.Types.JavaXTypes
- AT_EVENT_LISTENER - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_INJECT - Static variable in class org.springframework.modulith.core.Types.JavaXTypes
- AT_REPOSITORY - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_REPOSITORY_DEFINITION - Static variable in class org.springframework.modulith.core.Types.SpringDataTypes
- AT_RESOURCE - Static variable in class org.springframework.modulith.core.Types.JavaXTypes
- AT_SERVICE - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_SPRING_BOOT_APPLICATION - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AT_TX_EVENT_LISTENER - Static variable in class org.springframework.modulith.core.Types.SpringTypes
- AutoConfigurationAndEntityScanPackageCustomizer() - Constructor for class org.springframework.modulith.test.ModuleTestAutoConfiguration.AutoConfigurationAndEntityScanPackageCustomizer
B
- BrokerRouting - Class in org.springframework.modulith.events.support
-
A
BrokerRouting
supportsRoutingTarget
instances that contain values matching the format$target::$key
for which the key can actually be a SpEL expression. - BrokerRouting.SpelBrokerRouting - Class in org.springframework.modulith.events.support
-
A
BrokerRouting
that evaluates aRoutingTarget
's key as SpEL expression. - build() - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Creates a new
EventExternalizationConfiguration
refelcting the current configuration. - builder() - Static method in class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
-
Returns a new
EventExternalizationConfiguration.Selector
instance to build up a new configuration. - byApplicationLocalName(Collection<String>) - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Creates a new routing that uses the application-local type name as target
- byExternalizedAnnotations() - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Returns a
Function
that looks up the target from the supported externalization annotations. - byFullyQualifiedTypeName() - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Returns a
Function
that looks up the target from the fully-qualified type name of the event's type. - byGrouping(Documenter.CanvasOptions.Grouping) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
- byGroupName(String) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
C
- C4 - Enum constant in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.DiagramStyle
-
A C4 model component diagram.
- CanvasOptions(List<Documenter.CanvasOptions.Grouping>, String, String, boolean, boolean) - Constructor for class org.springframework.modulith.docs.Documenter.CanvasOptions
- Classes - Class in org.springframework.modulith.core
- closed(List<ApplicationModule.DeclaredDependency>) - Static method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependencies
- CodeReplacingDocumentationSource - Class in org.springframework.modulith.docs
-
A
DocumentationSource
that replaces {@code …} or {@link …} blocks into inline code references - CodeReplacingDocumentationSource(DocumentationSource, Asciidoctor) - Constructor for class org.springframework.modulith.docs.CodeReplacingDocumentationSource
-
Creates a new
CodeReplacingDocumentationSource
for the given delegateDocumentationSource
andAsciidoctor
instance. - compareTo(EventPublication) - Method in interface org.springframework.modulith.events.EventPublication
- Completable - Interface in org.springframework.modulith.events.core
-
Internal interface to be able to mark
TargetEventPublication
instances as completed. - CompletedEventPublications - Interface in org.springframework.modulith.events
-
All
EventPublication
s that have already been completed. - completionDate - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- completionDate - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- completionRegisteringAdvisor(ObjectFactory<EventPublicationRegistry>) - Static method in class org.springframework.modulith.events.config.EventPublicationAutoConfiguration
- completionRegisteringAdvisor(ObjectFactory<EventPublicationRegistry>) - Static method in class org.springframework.modulith.events.config.EventPublicationConfiguration
- CompletionRegisteringAdvisor - Class in org.springframework.modulith.events.support
-
An
Advisor
to decorateTransactionalEventListener
annotated methods to mark the previously registered event publications as completed on successful method execution. - CompletionRegisteringAdvisor(Supplier<EventPublicationRegistry>) - Constructor for class org.springframework.modulith.events.support.CompletionRegisteringAdvisor
-
Creates a new
CompletionRegisteringAdvisor
for the givenEventPublicationRegistry
. - CompletionRegisteringAdvisor.CompletionRegisteringMethodInterceptor - Class in org.springframework.modulith.events.support
-
MethodInterceptor
to trigger the completion of an event publication after a transaction event listener method has been completed successfully. - CompletionRegisteringMethodInterceptor(Supplier<EventPublicationRegistry>) - Constructor for class org.springframework.modulith.events.support.CompletionRegisteringAdvisor.CompletionRegisteringMethodInterceptor
-
Creates a new
CompletionRegisteringAdvisor.CompletionRegisteringMethodInterceptor
for the givenEventPublicationRegistry
. - ConditionalEventListener - Interface in org.springframework.modulith.events.core
-
An event listener that exposes whether it supports a particular event instance.
- ConfigurationProperties - Class in org.springframework.modulith.docs
-
Represents all
ConfigurationProperties.ConfigurationProperty
instances found for the current project. - ConfigurationProperties() - Constructor for class org.springframework.modulith.docs.ConfigurationProperties
-
Creates a new
ConfigurationProperties
instance. - ConfigurationProperties.ConfigurationProperty - Record Class in org.springframework.modulith.docs
- ConfigurationProperties.ModuleProperty - Record Class in org.springframework.modulith.docs
- ConfigurationProperty(String, String, String, String, String) - Constructor for record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Creates an instance of a
ConfigurationProperty
record class. - contains(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModule
- contains(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependency
-
Returns whether the
ApplicationModule.DeclaredDependency
contains the givenJavaClass
. - contains(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns whether the given
JavaClass
is contained within theApplicationModules
. - contains(JavaClass) - Method in class org.springframework.modulith.core.Classes
- contains(JavaClass) - Method in class org.springframework.modulith.core.JavaPackage
-
Return whether the
JavaPackage
contains the given type. - contains(JavaClass) - Method in class org.springframework.modulith.core.NamedInterface
-
Returns whether the
NamedInterface
contains the givenJavaClass
. - contains(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule
- contains(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependency
-
Returns whether the
ApplicationModule.DeclaredDependency
contains the givenClass
. - contains(Class<?>) - Method in class org.springframework.modulith.core.NamedInterface
-
Returns whether the
NamedInterface
contains the given type. - contains(Class<T>) - Method in class org.springframework.modulith.test.PublishedEventsAssert
-
Asserts that the
PublishedEvents
contain at least one event of the given type. - contains(String) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the given module contains a type with the given simple or fully qualified name.
- contains(String) - Method in class org.springframework.modulith.core.Classes
- contains(String) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns whether the
JavaPackage
contains the type with the given name. - contains(LocalDate) - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns whether the given
LocalDate
is contained in the currentShiftedQuarter
. - contains(ApplicationModule) - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns whether the dependencies contain the given
ApplicationModule
. - containsModuleNamed(String) - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns whether the dependencies contain the
ApplicationModule
with the given name. - create(TargetEventPublication) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Persists the given
TargetEventPublication
. - create(TargetEventPublication) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- create(TargetEventPublication) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- create(TargetEventPublication) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- createContextCustomizer(Class<?>, List<ContextConfigurationAttributes>) - Method in class org.springframework.modulith.test.ModuleContextCustomizerFactory
- customize(Function<ConditionFactory, ConditionFactory>) - Method in class org.springframework.modulith.test.Scenario.When
-
Customize the execution of the scenario.
- customizeContext(ConfigurableApplicationContext, MergedContextConfiguration) - Method in class org.springframework.modulith.test.ModuleContextCustomizerFactory.ModuleContextCustomizer
D
- databaseSchemaInitializer(JdbcTemplate, ResourceLoader, DatabaseType) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration
- DatabaseSchemaInitializer - Class in org.springframework.modulith.events.jdbc
-
Initializes the DB schema used to store events
- DatabaseSchemaInitializer(JdbcOperations, ResourceLoader, DatabaseType) - Constructor for class org.springframework.modulith.events.jdbc.DatabaseSchemaInitializer
-
Creates a new
DatabaseSchemaInitializer
for the givenJdbcOperations
,ResourceLoader
andDatabaseType
. - databaseToUUID(Object) - Method in enum class org.springframework.modulith.events.jdbc.DatabaseType
- databaseType(DataSource) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration
- DatabaseType - Enum Class in org.springframework.modulith.events.jdbc
- DayHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEvent
published on each day. - DAYS - Enum constant in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
-
Publish daily events only.
- DEFAULT - Enum constant in enum class org.springframework.modulith.core.DependencyType
- DefaultAssertablePublishedEvents - Class in org.springframework.modulith.test
-
Default implementation of
AssertablePublishedEvents
. - DefaultAssertablePublishedEvents() - Constructor for class org.springframework.modulith.test.DefaultAssertablePublishedEvents
-
Creates a new
DefaultAssertablePublishedEvents
. - DefaultAssertablePublishedEvents(DefaultPublishedEvents) - Constructor for class org.springframework.modulith.test.DefaultAssertablePublishedEvents
-
Creates a new
DefaultAssertablePublishedEvents
with the givenDefaultPublishedEvents
delegate. - DefaultEventExternalizationConfiguration - Class in org.springframework.modulith.events
-
Default implementation of
EventExternalizationConfiguration
. - DefaultEventExternalizationConfiguration(Predicate<Object>, Function<Object, Object>, Function<Object, RoutingTarget>) - Constructor for class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
-
Creates a new
DefaultEventExternalizationConfiguration
- DefaultEventPublication - Class in org.springframework.modulith.events.core
-
Default
Completable
implementation. - DefaultEventPublication(Object, PublicationTargetIdentifier, Instant) - Constructor for class org.springframework.modulith.events.core.DefaultEventPublication
-
Creates a new
DefaultEventPublication
for the given event andPublicationTargetIdentifier
. - DefaultEventPublicationRegistry - Class in org.springframework.modulith.events.core
-
A registry to capture event publications to
ApplicationListener
s. - DefaultEventPublicationRegistry(EventPublicationRepository, Clock) - Constructor for class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
-
Creates a new
DefaultEventPublicationRegistry
for the givenEventPublicationRepository
. - DefaultObservedModule - Class in org.springframework.modulith.observability
- DefaultObservedModule(ApplicationModule) - Constructor for class org.springframework.modulith.observability.DefaultObservedModule
-
Creates a new
DefaultObservedModule
for the givenApplicationModule
. - defaultOr(Supplier<DependencyType>) - Method in enum class org.springframework.modulith.core.DependencyType
-
Returns the current
DependencyType
or obtains the one provided by the given supplier if the current one isDependencyType.DEFAULT
. - DefaultPublishedEvents - Class in org.springframework.modulith.test
-
Default implementation of
PublishedEvents
. - DefaultPublishedEvents() - Constructor for class org.springframework.modulith.test.DefaultPublishedEvents
-
Creates a new, empty
DefaultPublishedEvents
instance. - DefaultPublishedEvents(Collection<? extends Object>) - Constructor for class org.springframework.modulith.test.DefaultPublishedEvents
-
Creates a new
DefaultPublishedEvents
instance with the given events. - defaults() - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Creates a default
Documenter.CanvasOptions
instance configuring componentDocumenter.CanvasOptions.Groupings
for jMolecules (if on the classpath) and Spring Framework. - defaults() - Static method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
Creates a new default
Documenter.DiagramOptions
instance configured to use all dependency types, list immediate dependencies for individual module instances, not applying any kind ofApplicationModule
orComponent
filters and default file names. - defaults(Collection<String>) - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Creates a default
DefaultEventExternalizationConfiguration
with the following characteristics: Only events that reside in any of the given packages and that are annotated with any supportedExternalized
annotation will be considered. Routing information is discovered from the {code Externalized} annotation and, if missing, will default to the application-local name of the event type. - DEFAULTS - Static variable in class org.springframework.modulith.moments.support.MomentsProperties
- defaultValue() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns the value of the
defaultValue
record component. - defaultValue() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns the value of the
defaultValue
record component. - DelegatingEventExternalizer - Class in org.springframework.modulith.events.support
-
An
EventExternalizationSupport
delegating to aBiConsumer
for the actual externalization. - DelegatingEventExternalizer(EventExternalizationConfiguration, BiConsumer<RoutingTarget, Object>) - Constructor for class org.springframework.modulith.events.support.DelegatingEventExternalizer
-
Creates a new
DelegatingEventExternalizer
for the givenEventExternalizationConfiguration
andBiConsumer
implementing the actual externalization. - DelegatingType(JavaClass, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Boolean>, Supplier<Collection<JavaClass>>, Supplier<Collection<ArchitecturallyEvidentType.ReferenceMethod>>) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- deleteCompletedPublications() - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Deletes all publications that were already marked as completed.
- deleteCompletedPublications() - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- deleteCompletedPublications() - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- deleteCompletedPublications() - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- deleteCompletedPublicationsBefore(Instant) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Deletes all publication that were already marked as completed with a completion date before the given one.
- deleteCompletedPublicationsBefore(Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- deleteCompletedPublicationsBefore(Instant) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- deleteCompletedPublicationsBefore(Instant) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- deleteCompletedPublicationsOlderThan(Duration) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- deleteCompletedPublicationsOlderThan(Duration) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Deletes all completed
TargetEventPublication
s that have been completed before the givenDuration
. - deletePublications(Predicate<EventPublication>) - Method in interface org.springframework.modulith.events.CompletedEventPublications
-
Deletes all
EventPublication
s matching the givenPredicate
. - deletePublications(Predicate<EventPublication>) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- deletePublications(List<UUID>) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Deletes all publications with the given identifiers.
- deletePublications(List<UUID>) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- deletePublications(List<UUID>) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- deletePublications(List<UUID>) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- deletePublicationsOlderThan(Duration) - Method in interface org.springframework.modulith.events.CompletedEventPublications
-
Deletes all
EventPublication
s whose completion date is older than the givenDuration
. - deletePublicationsOlderThan(Duration) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- DependencyDepth - Enum Class in org.springframework.modulith.core
- DependencyType - Enum Class in org.springframework.modulith.core
-
The type of dependency between
ApplicationModule
s. - description() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns the value of the
description
record component. - description() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns the value of the
description
record component. - deserialize(Object, Class<T>) - Method in interface org.springframework.modulith.events.core.EventSerializer
-
Deserializes the event from the serialization format into an instance of the given type.
- deserialize(Object, Class<T>) - Method in class org.springframework.modulith.events.jackson.JacksonEventSerializer
- destroy() - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- detectDependencies(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
- detectViolations() - Method in class org.springframework.modulith.core.ApplicationModules
-
Executes all verifications to be applied and returns
Violations
if any occured. - determineTarget(Object) - Method in class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
- determineTarget(Object) - Method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Determines the
RoutingTarget
for the given event based on the current configuration. - DiagramOptions(Set<DependencyType>, DependencyDepth, Predicate<ApplicationModule>, Predicate<Component>, Predicate<ApplicationModule>, String, Function<ApplicationModule, Optional<String>>, Function<ApplicationModule, String>, Documenter.DiagramOptions.DiagramStyle, Documenter.DiagramOptions.ElementsWithoutRelationships) - Constructor for class org.springframework.modulith.docs.Documenter.DiagramOptions
- DIRECT_DEPENDENCIES - Enum constant in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Bootstraps the current module as well as its direct dependencies.
- DIRECT_SUB_PACKAGES - Enum constant in enum class org.springframework.modulith.core.ApplicationModuleDetectionStrategies
- directSubPackage() - Static method in interface org.springframework.modulith.core.ApplicationModuleDetectionStrategy
-
A
ApplicationModuleDetectionStrategy
that considers all direct sub-packages of the Moduliths base package to be module base packages. - discoverNamedInterfaces(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterfaces
-
Discovers all
NamedInterfaces
declared for the givenJavaPackage
. - displayName() - Element in annotation interface org.springframework.modulith.ApplicationModule
-
The human readable name of the module to be used for display and documentation purposes.
- DocumentationSource - Interface in org.springframework.modulith.docs
-
Interface to abstract different ways of looking up documentation for code abstractions.
- Documenter - Class in org.springframework.modulith.docs
-
API to create documentation for
ApplicationModules
. - Documenter(Class<?>) - Constructor for class org.springframework.modulith.docs.Documenter
-
Creates a new
Documenter
for theApplicationModules
created for the given modulith type in the default output folder (spring-modulith-docs
). - Documenter(ApplicationModules) - Constructor for class org.springframework.modulith.docs.Documenter
-
Creates a new
Documenter
for the givenApplicationModules
instance in the default output folder (spring-modulith-docs
). - Documenter(ApplicationModules, String) - Constructor for class org.springframework.modulith.docs.Documenter
-
Creates a new
Documenter
for the givenApplicationModules
and output folder. - Documenter.CanvasOptions - Class in org.springframework.modulith.docs
- Documenter.CanvasOptions.Grouping - Class in org.springframework.modulith.docs
- Documenter.CanvasOptions.Groupings - Class in org.springframework.modulith.docs
- Documenter.DiagramOptions - Class in org.springframework.modulith.docs
-
Options to tweak the rendering of diagrams.
- Documenter.DiagramOptions.DiagramStyle - Enum Class in org.springframework.modulith.docs
-
Different diagram styles.
- Documenter.DiagramOptions.ElementsWithoutRelationships - Enum Class in org.springframework.modulith.docs
-
Configuration setting to define whether modules that do not have a relationship to any other module shall be retained in the diagrams created.
- DOMAIN_EVENT - Static variable in class org.springframework.modulith.core.Types.JMoleculesTypes
- doWithListener(String, Consumer<TransactionalApplicationListener<ApplicationEvent>>) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Invokes the given
Consumer
for the listener with the given identifier.
E
- EnablePersistentDomainEvents - Annotation Interface in org.springframework.modulith.events.config
- EnablePersistentDomainEvents.PersistentDomainEventsImportSelector - Class in org.springframework.modulith.events.config
-
ImportSelector
to dynamically pick up configuration types from the classpath. - EnableScenarios - Annotation Interface in org.springframework.modulith.test
-
Allows using
Scenario
as method parameter in integration tests. - ENTITY - Enum constant in enum class org.springframework.modulith.core.DependencyType
-
Indicates that the module refers to an entity of the other.
- equals(Object) - Method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependencies
- equals(Object) - Method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependency
- equals(Object) - Method in class org.springframework.modulith.core.ApplicationModule
- equals(Object) - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- equals(Object) - Method in class org.springframework.modulith.core.Classes
- equals(Object) - Method in class org.springframework.modulith.core.EventType
- equals(Object) - Method in class org.springframework.modulith.core.JavaPackage
- equals(Object) - Method in class org.springframework.modulith.core.SpringBean
- equals(Object) - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- equals(Object) - Method in class org.springframework.modulith.events.core.PublicationTargetIdentifier
- equals(Object) - Method in class org.springframework.modulith.events.RoutingTarget
- equals(Object) - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- equals(Object) - Method in class org.springframework.modulith.moments.DayHasPassed
- equals(Object) - Method in class org.springframework.modulith.moments.HourHasPassed
- equals(Object) - Method in class org.springframework.modulith.moments.MonthHasPassed
- equals(Object) - Method in class org.springframework.modulith.moments.QuarterHasPassed
- equals(Object) - Method in class org.springframework.modulith.moments.ShiftedQuarter
- equals(Object) - Method in class org.springframework.modulith.moments.WeekHasPassed
- equals(Object) - Method in class org.springframework.modulith.moments.YearHasPassed
- equals(Object) - Method in class org.springframework.modulith.test.ModuleContextCustomizerFactory.ModuleContextCustomizer
- equals(Object) - Method in class org.springframework.modulith.test.ModuleTestExecution
- equals(Object) - Method in class org.springframework.modulith.test.ModuleTypeExcludeFilter
- event - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- EVENT_LISTENER - Enum constant in enum class org.springframework.modulith.core.DependencyType
-
Indicates that the module depends on the other by declaring an event listener for an event exposed by the other module.
- EventExternalizationAutoConfiguration - Class in org.springframework.modulith.events.config
-
Auto-configuration to externalize application events.
- EventExternalizationAutoConfiguration() - Constructor for class org.springframework.modulith.events.config.EventExternalizationAutoConfiguration
- eventExternalizationConfiguration(BeanFactory) - Static method in class org.springframework.modulith.events.config.EventExternalizationAutoConfiguration
- EventExternalizationConfiguration - Interface in org.springframework.modulith.events
-
Configuration for externalizing application events to messaging infrastructure.
- EventExternalizationConfiguration.Router - Class in org.springframework.modulith.events
-
API to define the event routing.
- EventExternalizationConfiguration.Selector - Class in org.springframework.modulith.events
-
API to define which events are supposed to be selected for externalization.
- EventExternalizationSupport - Class in org.springframework.modulith.events.support
-
Fundamental support for event externalization.
- EventExternalizationSupport(EventExternalizationConfiguration) - Constructor for class org.springframework.modulith.events.support.EventExternalizationSupport
-
Creates a new
EventExternalizationSupport
for the givenEventExternalizationConfiguration
. - eventOfTypeWasPublished(Class<?>) - Method in interface org.springframework.modulith.test.TypedEvents
-
Returns whether an event of the given type was published.
- EventPublication - Interface in org.springframework.modulith.events
-
An event publication.
- EventPublicationAutoConfiguration - Class in org.springframework.modulith.events.config
-
Fundamental configuration for the
EventPublicationRegistry
support. - EventPublicationAutoConfiguration() - Constructor for class org.springframework.modulith.events.config.EventPublicationAutoConfiguration
- EventPublicationAutoConfiguration.AsyncEnablingConfiguration - Class in org.springframework.modulith.events.config
- EventPublicationAutoConfiguration.AsyncPropertiesDefaulter - Class in org.springframework.modulith.events.config
- EventPublicationConfiguration - Class in org.springframework.modulith.events.config
-
Fundamental configuration for the
EventPublicationRegistry
support. - EventPublicationConfiguration() - Constructor for class org.springframework.modulith.events.config.EventPublicationConfiguration
- EventPublicationConfigurationExtension - Interface in org.springframework.modulith.events.config
- eventPublicationRegistry(EventPublicationRepository, ObjectProvider<Clock>) - Method in class org.springframework.modulith.events.config.EventPublicationAutoConfiguration
- eventPublicationRegistry(EventPublicationRepository, ObjectProvider<Clock>) - Method in class org.springframework.modulith.events.config.EventPublicationConfiguration
- EventPublicationRegistry - Interface in org.springframework.modulith.events.core
-
A registry to capture event publications to
ApplicationListener
s. - EventPublicationRepository - Interface in org.springframework.modulith.events.core
-
Repository to store
TargetEventPublication
s. - EventResult(Class<E>, Function<PublishedEvents.TypedPublishedEvents<E>, PublishedEvents.TypedPublishedEvents<E>>, Scenario.When.ExecutionResult<?, T>) - Constructor for class org.springframework.modulith.test.Scenario.When.EventResult
-
Creates a new
Scenario.When.EventResult
for the given type and filter. - EventSerializationConfigurationExtension - Interface in org.springframework.modulith.events.config
- EventSerializer - Interface in org.springframework.modulith.events.core
- eventsOf(Object) - Static method in class org.springframework.modulith.test.AggregateTestUtils
-
Extracts all domain events from the given aggregate that uses Spring Data's
DomainEvents
annotation to expose them. - eventType - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- EventType - Class in org.springframework.modulith.core
-
A type that represents an event in a system.
- EventType(JavaClass) - Constructor for class org.springframework.modulith.core.EventType
-
Creates a new
EventType
for the givenJavaClass
. - everyHour() - Method in class org.springframework.modulith.moments.support.Moments
-
Triggers event publication every hour.
- everyMidnight() - Method in class org.springframework.modulith.moments.support.Moments
-
Triggers event publication every midnight.
- EXPLICITLY_ANNOTATED - Enum constant in enum class org.springframework.modulith.core.ApplicationModuleDetectionStrategies
- explictlyAnnotated() - Static method in interface org.springframework.modulith.core.ApplicationModuleDetectionStrategy
-
A
ApplicationModuleDetectionStrategy
that considers packages explicitly annotated withApplicationModule
module base packages. - exposes(JavaClass) - Method in class org.springframework.modulith.observability.DefaultObservedModule
- exposes(JavaClass) - Method in interface org.springframework.modulith.observability.ObservedModule
-
Returns whether the
ObservedModule
exposes the givenJavaClass
. - externalize(Object) - Method in class org.springframework.modulith.events.support.DelegatingEventExternalizer
- externalize(Object) - Method in class org.springframework.modulith.events.support.EventExternalizationSupport
-
Externalizes the given event.
- externalize(Object, RoutingTarget) - Method in class org.springframework.modulith.events.support.DelegatingEventExternalizer
- externalize(Object, RoutingTarget) - Method in class org.springframework.modulith.events.support.EventExternalizationSupport
-
Publish the given payload to the given
RoutingTarget
. - Externalized - Annotation Interface in org.springframework.modulith.events
-
Marks domain events as to be externalized.
- externalizing() - Static method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Creates a new
EventExternalizationConfiguration.Selector
to define which events to externalize. - extraIncludes() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
-
Module names of modules to be included in the test run independent of what the
ApplicationModuleTest.mode()
defines.
F
- FALLBACK_GROUP - Static variable in class org.springframework.modulith.docs.Documenter.CanvasOptions
- filteringEventListenerFactory(EventExternalizationConfiguration) - Static method in class org.springframework.modulith.events.config.EventExternalizationAutoConfiguration
- Filters() - Constructor for class org.springframework.modulith.core.ApplicationModules.Filters
- findAll() - Method in interface org.springframework.modulith.events.CompletedEventPublications
-
Returns all
EventPublication
s that have already been completed. - findAll() - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- findIncompletePublications() - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- findIncompletePublications() - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Returns all
TargetEventPublication
s that have not been completed yet. - findIncompletePublications() - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Returns all
TargetEventPublication
s that have not been completed yet. - findIncompletePublications() - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- findIncompletePublications() - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- findIncompletePublications() - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- findIncompletePublicationsByEventAndTargetIdentifier(Object, PublicationTargetIdentifier) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Return the incomplete
TargetEventPublication
for the given serialized event and listener identifier. - findIncompletePublicationsByEventAndTargetIdentifier(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- findIncompletePublicationsByEventAndTargetIdentifier(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- findIncompletePublicationsByEventAndTargetIdentifier(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- findIncompletePublicationsOlderThan(Duration) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- findIncompletePublicationsOlderThan(Duration) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Returns all
TargetEventPublication
s that have not been completed yet and have been published before the given duration in relation to "now". - findIncompletePublicationsPublishedBefore(Instant) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Returns all
TargetEventPublication
s that have not been completed and were published before the givenInstant
. - findIncompletePublicationsPublishedBefore(Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- findIncompletePublicationsPublishedBefore(Instant) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- findIncompletePublicationsPublishedBefore(Instant) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- forCodeUnit(JavaCodeUnit) - Static method in enum class org.springframework.modulith.core.DependencyType
- forDependency(Dependency) - Static method in enum class org.springframework.modulith.core.DependencyType
- forEach(BiConsumer<Documenter.CanvasOptions.Grouping, List<SpringBean>>) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
- forEach(Consumer<TransactionalApplicationListener<?>>) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Invokes the given
Consumer
for all transactional event listeners. - forEventOfType(Class<E>) - Method in class org.springframework.modulith.test.Scenario.When
-
Alternative to
Scenario.When.andWaitForEventOfType(Class)
for better readability if execution customizations have been applied before. - format() - Method in class org.springframework.modulith.core.Classes
- format(JavaClass, String) - Static method in class org.springframework.modulith.core.Classes
- format(JavaClass, String, boolean) - Static method in class org.springframework.modulith.core.Classes
-
Formats the given
JavaClass
into aString
, potentially abbreviating the given base package. - format(Iterable<JavaClass>) - Static method in class org.springframework.modulith.core.FormatableType
-
Formats the given
JavaClass
es by rendering a comma-separated list with the abbreviated class names. - format(String) - Method in class org.springframework.modulith.core.Classes
- format(FormatableType, FormatableType) - Method in enum class org.springframework.modulith.core.DependencyType
- FormatableType - Class in org.springframework.modulith.core
-
Wrapper around
JavaClass
that allows creating additional formatted names. - forParameter(JavaClass) - Static method in enum class org.springframework.modulith.core.DependencyType
- forPhase(TransactionPhase) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Returns all
PersistentApplicationEventMulticaster.TransactionalEventListeners
for the givenTransactionPhase
. - forStateChange(Supplier<S>) - Method in class org.springframework.modulith.test.Scenario.When
-
Alternative to
Scenario.When.andWaitForStateChange(Supplier)
for better readability if execution customizations have been applied before. - forStateChange(Supplier<S>, Predicate<? super S>) - Method in class org.springframework.modulith.test.Scenario.When
-
Alternative to
Scenario.When.andWaitForStateChange(Supplier, Predicate)
for better readability if execution customizations have been applied before. - forTarget(String) - Static method in class org.springframework.modulith.events.RoutingTarget
-
Creates a new
RoutingTarget.RoutingTargetBuilder
for the given target. - forwardExecutorService(ApplicationContext) - Static method in interface org.springframework.modulith.test.ScenarioCustomizer
-
Creates a default scenario customizer that will try to find an
ExecutorService
in the givenApplicationContext
in the following order: A uniqueExecutorService
bean defined AThreadPoolTaskExecutor
bean defined (the default Spring Boot creates in case noExecutor
is explicitly defined in theApplicationContext
- from(DatabaseDriver) - Static method in enum class org.springframework.modulith.events.jdbc.DatabaseType
- fromCodeUnitParameter(JavaCodeUnit, JavaClass) - Static method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- fromCodeUnitReturnType(JavaCodeUnit) - Static method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- fromType(ArchitecturallyEvidentType) - Static method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
G
- get() - Method in class org.springframework.modulith.events.AnnotationTargetLookup
- get() - Method in class org.springframework.modulith.runtime.ApplicationModulesRuntime
- getAbbreviatedFullName() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns the abbreviated (i.e.
- getAbbreviatedFullName() - Method in class org.springframework.modulith.core.FormatableType
-
Returns the abbreviated (i.e.
- getAbbreviatedFullName(ApplicationModule) - Method in class org.springframework.modulith.core.FormatableType
-
Returns the abbreviated full name of the type abbreviating only the part of the given
ApplicationModule
's base package. - getAdditionalPackages() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- getAdditionalPackages() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Returns the names of the packages that are supposed to be considered modulith base packages, i.e.
- getAdditionalPackages() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- getAdvice() - Method in class org.springframework.modulith.events.support.CompletionRegisteringAdvisor
- getAggregateRoots() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all types that are considered aggregate roots.
- getAnnotation(Class<A>) - Method in class org.springframework.modulith.core.JavaPackage
-
Return the annotation of the given type declared on the package.
- getApiBase() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
- getApplicationEvent() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns the event as Spring
ApplicationEvent
, effectively wrapping it into aPayloadApplicationEvent
in case it's not one already. - getApplicationListeners(ApplicationEvent, ResolvableType) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- getApplicationModules() - Method in class org.springframework.modulith.actuator.ApplicationModulesEndpoint
-
Returns the
ApplicationModules
metadata asMap
(to be rendered as JSON). - getArchitecturallyEvidentType(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the
ArchitecturallyEvidentType
for the given type. - getBasePackage() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the module's base package.
- getBasePackages() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns all base packages the current execution needs to use for component scanning, auto-configuration etc.
- getBootstrapBasePackages(ApplicationModules, DependencyDepth) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
JavaPackage
for the current module including the ones by its dependencies. - getBootstrapDependencies(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all modules that contain types which the types of the current module depend on.
- getBootstrapDependencies(ApplicationModules, DependencyDepth) - Method in class org.springframework.modulith.core.ApplicationModule
- getBootstrapMode() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns the
ApplicationModuleTest.BootstrapMode
to be used for the executions. - getByName(String) - Method in class org.springframework.modulith.core.NamedInterfaces
-
Returns the
NamedInterface
with the given name if present. - getClasses() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all classes residing in the current package and potentially in sub-packages if the current package was created to include them.
- getComparator() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns a
Comparator
that will sort objects based on their types' application module. - getCompletionDate() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getCompletionDate() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns the completion date of the publication.
- getDate() - Method in class org.springframework.modulith.moments.DayHasPassed
-
The day that has just passed.
- getDeclaredDependencies() - Method in interface org.springframework.modulith.core.ApplicationModuleInformation
-
Returns all allowed dependencies.
- getDeclaredDependencies() - Method in class org.springframework.modulith.core.ApplicationModuleInformation.JMoleculesModule
- getDeclaredDependencies() - Method in class org.springframework.modulith.core.ApplicationModuleInformation.SpringModulithModule
- getDeclaredDependencies(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all declared module dependencies, either explicitly declared or defined as shared on the given
ApplicationModules
instance. - getDefaultCustomizer(Method, ApplicationContext) - Method in interface org.springframework.modulith.test.ScenarioCustomizer
-
Return a customizer to be applied to the
Scenario
instance handed into the given method. - getDefaultedNames(NamedInterface, String) - Static method in class org.springframework.modulith.core.NamedInterface
-
Returns the names declared in the given
NamedInterface
annotation or defaults to the local name of the given package if none declared. - getDependencies() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns all module dependencies, based on the current
ApplicationModuleTest.BootstrapMode
. - getDependencies(ApplicationModules, DependencyType...) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns
ApplicationModule.DeclaredDependencies
of the currentApplicationModule
. - getDependencyType() - Method in interface org.springframework.modulith.core.ApplicationModuleDependency
-
The type of the dependency.
- getDepth() - Method in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Returns the
DependencyDepth
associated with theApplicationModuleTest.BootstrapMode
. - getDescription() - Method in class org.springframework.modulith.core.Classes
- getDescription() - Method in class org.springframework.modulith.core.JavaPackage
- getDescription() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Returns the description of the
Documenter.CanvasOptions.Grouping
. - getDescription() - Method in exception org.springframework.modulith.runtime.autoconfigure.MissingRuntimeDependency
- getDirectSubPackages() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all direct sub-packages of the current one.
- getDisplayName() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the name of the
ApplicationModule
for display purposes. - getDisplayName() - Method in interface org.springframework.modulith.core.ApplicationModuleInformation
-
Returns the display name to be used to describe the module.
- getDisplayName() - Method in class org.springframework.modulith.core.ApplicationModuleInformation.JMoleculesModule
- getDisplayName() - Method in class org.springframework.modulith.core.ApplicationModuleInformation.SpringModulithModule
- getDisplayName() - Method in class org.springframework.modulith.observability.DefaultObservedModule
- getDisplayName() - Method in interface org.springframework.modulith.observability.ObservedModule
- getDocumentation(JavaMethod) - Method in class org.springframework.modulith.docs.CodeReplacingDocumentationSource
- getDocumentation(JavaMethod) - Method in interface org.springframework.modulith.docs.DocumentationSource
-
Returns the documentation to be used for the given
JavaMethod
. - getDocumentation(JavaMethod) - Method in class org.springframework.modulith.docs.SpringAutoRestDocsDocumentationSource
- getEnd() - Method in enum class org.springframework.modulith.moments.Quarter
-
Returns the end
MonthDay
. - getEnd() - Method in class org.springframework.modulith.moments.ShiftedQuarter
- getEndDate() - Method in class org.springframework.modulith.moments.QuarterHasPassed
-
Returns the date of the last day of the quarter that has just passed.
- getEndDate() - Method in class org.springframework.modulith.moments.WeekHasPassed
-
Returns the end date of the week that has passed.
- getEndDate() - Method in class org.springframework.modulith.moments.YearHasPassed
-
Returns the end date of the year passed.
- getEndDate(Year) - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns the end date of the
ShiftedQuarter
for the givenYear
. - getEvent() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getEvent() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns the event that is published.
- getEventsListenedTo(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all event types the current module exposes an event listener for.
- getExistingModuleOf(JavaClass, ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- getExposedClasses() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns the classes exposed by this package, i.e.
- getExtraIncludes() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns all
ApplicationModule
s registered as extra includes for the execution. - getFullName() - Method in class org.springframework.modulith.core.FormatableType
-
Returns the type's full name.
- getFullyQualifiedTypeName() - Method in class org.springframework.modulith.core.SpringBean
-
Returns the fully-qualified name of the Spring bean type.
- getGroupings() - Static method in class org.springframework.modulith.docs.Groupings.JMoleculesGroupings
- getGroupings() - Static method in class org.springframework.modulith.docs.Groupings.SpringGroupings
-
Returns Spring Framework-related
Documenter.CanvasOptions.Grouping
s. - getId() - Method in interface org.springframework.modulith.runtime.ApplicationRuntime
-
Returns the identifier of the application.
- getId() - Method in class org.springframework.modulith.runtime.autoconfigure.SpringBootApplicationRuntime
- getIdentifier() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getIdentifier() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns a unique identifier for this publication.
- getInterfacesWithinModule() - Method in class org.springframework.modulith.core.SpringBean
-
Returns all interfaces implemented by the bean that are part of the same application module.
- getInvokedMethod(MethodInvocation) - Method in class org.springframework.modulith.observability.DefaultObservedModule
- getInvokedMethod(MethodInvocation) - Method in interface org.springframework.modulith.observability.ObservedModule
-
Returns the name of the actually invoked
Method
. - getKey() - Method in class org.springframework.modulith.events.RoutingTarget
-
Returns the routing key.
- getKey() - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- getKey(Object) - Method in class org.springframework.modulith.events.support.BrokerRouting
-
Resolves the routing key against the given event.
- getKey(Object) - Method in class org.springframework.modulith.events.support.BrokerRouting.SpelBrokerRouting
- getLocale() - Method in class org.springframework.modulith.moments.support.MomentsProperties
-
The
Locale
to use when determining week boundaries. - getLocale() - Method in class org.springframework.modulith.moments.WeekHasPassed
- getLocalName() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns the local name of the package, i.e.
- getMainApplicationClass() - Method in interface org.springframework.modulith.runtime.ApplicationRuntime
-
Returns the primary application class.
- getMainApplicationClass() - Method in class org.springframework.modulith.runtime.autoconfigure.SpringBootApplicationRuntime
- getMessage() - Method in exception org.springframework.modulith.core.Violations
- getMethod() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.ReferenceMethod
- getMethodsToIntercept() - Method in class org.springframework.modulith.observability.ObservedModuleType
-
Returns a predicate to filter the methods to intercept.
- getModule() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns the primary
ApplicationModule
to bootstrap. - getModuleAnnotationTypeIfPresent() - Static method in class org.springframework.modulith.core.Types.JMoleculesTypes
- getModuleBasePackages(JavaPackage) - Method in interface org.springframework.modulith.core.ApplicationModuleDetectionStrategy
-
Given the
JavaPackage
that Moduliths was initialized with, return the base packages for all modules in the system. - getModuleByName(String) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the
ApplicationModule
with the given name. - getModuleByType(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the module that contains the given
JavaClass
. - getModuleByType(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the
ApplicationModule
containing the given type. - getModuleByType(String) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the
ApplicationModule
containing the type with the given simple or fully-qualified name. - getModuleForPackage(String) - Method in class org.springframework.modulith.core.ApplicationModules
- getModuleProperties(ApplicationModule) - Method in class org.springframework.modulith.docs.ConfigurationProperties
-
Returns all
ConfigurationProperties.ModuleProperty
instances for the givenApplicationModule
. - getModules() - Method in class org.springframework.modulith.docs.Documenter
- getModules() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Returns all
ApplicationModules
of the application. - getModulithSource() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- getModulithSource() - Method in class org.springframework.modulith.core.ApplicationModules
-
Deprecated, for removal: This API element is subject to removal in a future version.
- getModulithSource() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Deprecated, for removal: This API element is subject to removal in a future version.use
ModulithMetadata.getSource()
instead. - getModulithSource() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- getMonth() - Method in class org.springframework.modulith.moments.MonthHasPassed
-
The month that has just passed.
- getName() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the logical name of the module.
- getName() - Method in class org.springframework.modulith.core.JavaPackage
-
Returns the name of the package.
- getName() - Method in class org.springframework.modulith.core.NamedInterface
-
Returns the
NamedInterface
's name. - getName() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Returns the name of the
Documenter.CanvasOptions.Grouping
. - getName() - Method in class org.springframework.modulith.observability.DefaultObservedModule
- getName() - Method in interface org.springframework.modulith.observability.ObservedModule
- getNamedInterfaces() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
NamedInterfaces
exposed by the module. - getObservedModuleType(Class<?>, ApplicationModules) - Method in class org.springframework.modulith.observability.DefaultObservedModule
- getObservedModuleType(Class<?>, ApplicationModules) - Method in interface org.springframework.modulith.observability.ObservedModule
-
Returns the
ObservedModuleType
for the given type andApplicationModules
. - getOrder() - Method in class org.springframework.modulith.events.support.CompletionRegisteringAdvisor.CompletionRegisteringMethodInterceptor
- getPointcut() - Method in class org.springframework.modulith.events.support.CompletionRegisteringAdvisor
- getPublicationDate() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getPublicationDate() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns the time the event is published at.
- getPublishedEvents() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
EventType
s published by the module. - getQuarter() - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns the logical
Quarter
. - getReferenceMethods() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- getReferenceMethods() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- getReferenceMethods() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- getReferenceTypes() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- getReferenceTypes() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns other types that are interesting in the context of the current
ArchitecturallyEvidentType
. - getReferenceTypes() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- getRequiredClass(Class<?>) - Method in class org.springframework.modulith.core.Classes
- getSchemaResourceFilename() - Method in enum class org.springframework.modulith.events.jdbc.DatabaseType
- getSharedModuleNames() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- getSharedModuleNames() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Returns the name of shared modules, i.e.
- getSharedModuleNames() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- getSharedModules() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns all
ApplicationModule
s registered as shared ones. - getShiftedQuarter(LocalDate) - Method in class org.springframework.modulith.moments.support.MomentsProperties
-
Returns the
ShiftedQuarter
for the given reference date. - getSource() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- getSource() - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
-
Returns the source
JavaClass
. - getSource() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the source of the
ApplicationModules
. - getSource() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Returns the source of the Spring Modulith setup.
- getSource() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- getSources() - Method in class org.springframework.modulith.core.EventType
-
The sources that create that event.
- getSourceType() - Method in interface org.springframework.modulith.core.ApplicationModuleDependency
-
The source java type establishing the dependency.
- getSpringBeans() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all
SpringBean
s contained in the module. - getSpringBeansInternal() - Method in class org.springframework.modulith.core.ApplicationModule
- getStart() - Method in enum class org.springframework.modulith.moments.Quarter
-
Returns the start
MonthDay
. - getStart() - Method in class org.springframework.modulith.moments.ShiftedQuarter
- getStartDate() - Method in class org.springframework.modulith.moments.QuarterHasPassed
-
Returns the date of the first day of the quarter that has just passed.
- getStartDate() - Method in class org.springframework.modulith.moments.WeekHasPassed
-
Returns the start date of the week that has passed.
- getStartDate() - Method in class org.springframework.modulith.moments.YearHasPassed
-
Returns the start date of the year passed.
- getStartDate(Year) - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns the start date of the
ShiftedQuarter
for the givenYear
. - getSubPackagesAnnotatedWith(Class<? extends Annotation>) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all sub-packages that carry the given annotation type.
- getSuggestedAction() - Method in exception org.springframework.modulith.runtime.autoconfigure.MissingRuntimeDependency
- getSystemName() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- getSystemName() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns the system name if defined.
- getSystemName() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Returns the name of the system.
- getSystemName() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- getTarget() - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
-
Returns the target
JavaClass
. - getTarget() - Method in class org.springframework.modulith.events.RoutingTarget
-
Returns the routing target.
- getTarget() - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- getTarget() - Method in class org.springframework.modulith.events.support.BrokerRouting
-
Returns the actual routing target.
- getTargetIdentifier() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- getTargetIdentifier() - Method in interface org.springframework.modulith.events.core.TargetEventPublication
-
Returns the identifier of the target that the event is supposed to be published to.
- getTargetModule() - Method in interface org.springframework.modulith.core.ApplicationModuleDependency
-
The target
ApplicationModule
. - getTargetType() - Method in interface org.springframework.modulith.core.ApplicationModuleDependency
-
The dependency target type.
- getTime() - Method in class org.springframework.modulith.moments.HourHasPassed
-
The hour that has just passed.
- getTransactionPhase() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.ReferenceMethod
- getType() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns the
JavaClass
backing theArchitecturallyEvidentType
. - getType() - Method in class org.springframework.modulith.core.EventType
-
The
JavaClass
of theEventType
. - getType() - Method in class org.springframework.modulith.core.SpringBean
-
Returns the
JavaClass
of theSpringBean
. - getType(String) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns the
JavaClass
for the given candidate simple of fully-qualified type name. - getUnnamedInterface() - Method in class org.springframework.modulith.core.NamedInterfaces
-
Returns the unnamed
NamedInterface
of the module. - getUserClass(Object, String) - Method in class org.springframework.modulith.runtime.ApplicationModulesRuntime
-
Returns the actual user class for a given bean and bean name.
- getUserClass(Object, String) - Method in interface org.springframework.modulith.runtime.ApplicationRuntime
-
Obtain the end user class for the given bean and bean name.
- getUserClass(Object, String) - Method in class org.springframework.modulith.runtime.autoconfigure.SpringBootApplicationRuntime
- getValue() - Method in class org.springframework.modulith.events.core.PublicationTargetIdentifier
-
Returns the raw String value of the identifier.
- getValueTypes() - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns all value types contained in the module.
- getWeek() - Method in class org.springframework.modulith.moments.WeekHasPassed
-
The
Locale
to be used to calculate the start date of the week. - getYear() - Method in class org.springframework.modulith.moments.WeekHasPassed
-
The year of the week that has just passed.
- getYear() - Method in class org.springframework.modulith.moments.YearHasPassed
-
The
Year
that has just passed. - getZoneId() - Method in class org.springframework.modulith.moments.support.MomentsProperties
-
The
ZoneId
to determine times which are attached to the events published. - groupBeans(ApplicationModule) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
- groupingBy(String, Predicate<SpringBean>) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Registers a component grouping with the given name and selecting filter.
- groupingBy(String, Predicate<SpringBean>, String) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Registers a component grouping with the given name, selecting filter and description.
- groupingBy(Documenter.CanvasOptions.Grouping...) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Creates a new
Documenter.CanvasOptions
with the givenDocumenter.CanvasOptions.Grouping
s added. - Groupings - Class in org.springframework.modulith.docs
-
A collection of
Documenter.CanvasOptions.Grouping
s. - Groupings() - Constructor for class org.springframework.modulith.docs.Groupings
- Groupings(MultiValueMap<Documenter.CanvasOptions.Grouping, SpringBean>) - Constructor for class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
- Groupings.JMoleculesGroupings - Class in org.springframework.modulith.docs
-
jMolecules-related
Documenter.CanvasOptions.Grouping
s. - Groupings.SpringGroupings - Class in org.springframework.modulith.docs
-
Spring Framework-related
Documenter.CanvasOptions.Grouping
s.
H
- H2 - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
- hasExplicitInterfaces() - Method in class org.springframework.modulith.core.NamedInterfaces
-
Returns whether at least one explicit
NamedInterface
is declared. - hasExternalizedAnnotation(Object) - Static method in class org.springframework.modulith.events.AnnotationTargetLookup
-
Returns whether the given event is annotated with a supported
Externalized
annotation. - hashCode() - Method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependencies
- hashCode() - Method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependency
- hashCode() - Method in class org.springframework.modulith.core.ApplicationModule
- hashCode() - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- hashCode() - Method in class org.springframework.modulith.core.Classes
- hashCode() - Method in class org.springframework.modulith.core.EventType
- hashCode() - Method in class org.springframework.modulith.core.JavaPackage
- hashCode() - Method in class org.springframework.modulith.core.SpringBean
- hashCode() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- hashCode() - Method in class org.springframework.modulith.events.core.PublicationTargetIdentifier
- hashCode() - Method in class org.springframework.modulith.events.RoutingTarget
- hashCode() - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- hashCode() - Method in class org.springframework.modulith.moments.DayHasPassed
- hashCode() - Method in class org.springframework.modulith.moments.HourHasPassed
- hashCode() - Method in class org.springframework.modulith.moments.MonthHasPassed
- hashCode() - Method in class org.springframework.modulith.moments.QuarterHasPassed
- hashCode() - Method in class org.springframework.modulith.moments.ShiftedQuarter
- hashCode() - Method in class org.springframework.modulith.moments.WeekHasPassed
- hashCode() - Method in class org.springframework.modulith.moments.YearHasPassed
- hashCode() - Method in class org.springframework.modulith.test.ModuleContextCustomizerFactory.ModuleContextCustomizer
- hashCode() - Method in class org.springframework.modulith.test.ModuleTestExecution
- hashCode() - Method in class org.springframework.modulith.test.ModuleTypeExcludeFilter
- hasKeyExpression() - Method in class org.springframework.modulith.events.RoutingTarget
-
Returns whether the routing key is a SpEL expression.
- hasListeners() - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
- hasOnlyFallbackGroup() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
- hasSameNameAs(NamedInterface) - Method in class org.springframework.modulith.core.NamedInterface
-
Returns whether the given
NamedInterface
has the same name as the current one. - hasSources() - Method in class org.springframework.modulith.core.EventType
-
Whether any sources exist at all.
- hasSourceType() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
- hasType(DependencyType) - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
-
Returns whether the
ApplicationModule.QualifiedDependency
has the givenDependencyType
. - hasViolations() - Method in exception org.springframework.modulith.core.Violations
-
Returns whether there are violations available.
- HIDDEN - Enum constant in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.ElementsWithoutRelationships
- hideInternalFilter(ApplicationModule) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
- HourHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEvent
published on each day. - HOURS - Enum constant in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
-
Publish hourly events.
- HSQLDB - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
I
- id - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- id - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- ifPresent(Consumer<Stream<TransactionalApplicationListener<ApplicationEvent>>>) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Executes the given consumer only if there are actual listeners available.
- IMMEDIATE - Enum constant in enum class org.springframework.modulith.core.DependencyDepth
- implementing(Class<?>) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Helper method to create a
Predicate
forSpringBean
s implementing the given interface. - includes(String) - Method in class org.springframework.modulith.test.ModuleTestExecution
- IncompleteEventPublications - Interface in org.springframework.modulith.events
-
All uncompleted event publications.
- initialize() - Method in interface org.springframework.modulith.ApplicationModuleInitializer
-
Run business logic that's needed to initialize the
ApplicationModule
. - interceptTestFactoryMethod(InvocationInterceptor.Invocation<T>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.springframework.modulith.test.ScenarioCustomizer
- interceptTestMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.springframework.modulith.test.ScenarioCustomizer
- interceptTestTemplateMethod(InvocationInterceptor.Invocation<Void>, ReflectiveInvocationContext<Method>, ExtensionContext) - Method in interface org.springframework.modulith.test.ScenarioCustomizer
- invoke(MethodInvocation) - Method in class org.springframework.modulith.events.support.CompletionRegisteringAdvisor.CompletionRegisteringMethodInterceptor
- invoke(MethodInvocation) - Method in class org.springframework.modulith.observability.ModuleEntryInterceptor
- isAggregateRoot() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isAggregateRoot() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns whether the type is considered an aggregate root in the DDD sense.
- isAggregateRoot() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isAggregateRoot() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isAggregateRoot() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- isAllowedDependency(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependencies
-
Returns whether the given
JavaClass
is a valid dependency. - isAllowedDependency(Class<?>) - Method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependencies
- isAnnotatedWith(Class<?>) - Static method in class org.springframework.modulith.core.Types
- isAnnotatedWith(Class<? extends Annotation>) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
- isAnnotatedWith(String) - Static method in class org.springframework.modulith.core.Types
- isApiBean() - Method in class org.springframework.modulith.core.SpringBean
-
Returns whether the bean is considered to be an API bean, which means it is either a public type exposed in an API package of the module or implements an exposed API interface.
- isApplicationClass(Class<?>) - Method in class org.springframework.modulith.runtime.ApplicationModulesRuntime
-
Returns whether a given
Class
is considered an application one (versus Framework ones). - isApplicationClass(Class<?>) - Method in interface org.springframework.modulith.runtime.ApplicationRuntime
-
Returns whether the given type is an application class, i.e.
- isApplicationClass(Class<?>) - Method in class org.springframework.modulith.runtime.autoconfigure.SpringBootApplicationRuntime
- isAsync() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.ReferenceMethod
- isAtBeanMethod(JavaMethod) - Static method in class org.springframework.modulith.core.Types.SpringTypes
- isComponent() - Static method in class org.springframework.modulith.core.Types.SpringTypes
- isConfiguration() - Static method in class org.springframework.modulith.core.Types.SpringTypes
- isConfigurationProperties() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isConfigurationProperties() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isConfigurationProperties() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isConfigurationProperties() - Static method in class org.springframework.modulith.core.Types.SpringTypes
- isController() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isController() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isController() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isController() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- isEmpty() - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns whether there are any dependencies at all.
- isEmpty() - Method in class org.springframework.modulith.core.Classes
- isEnableTimeMachine() - Method in class org.springframework.modulith.moments.support.MomentsProperties
-
Whether to enable the
TimeMachine
. - isEntity() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isEntity() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns whether the type is an entity in the DDD sense.
- isEntity() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isEntity() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- isEventListener() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isEventListener() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isEventListener() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isEventListener() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isExposed(JavaClass) - Method in class org.springframework.modulith.core.ApplicationModule
-
Returns whether the given
JavaClass
is exposed by the current module, i.e. - isHourly() - Method in class org.springframework.modulith.moments.support.MomentsProperties
-
Returns whether to create hourly events.
- isIdentifiedBy(PublicationTargetIdentifier) - Method in interface org.springframework.modulith.events.core.TargetEventPublication
-
Returns whether the publication is identified by the given
PublicationTargetIdentifier
. - isInjectable() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isInjectable() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isInjectable() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isJpaEntity() - Static method in class org.springframework.modulith.core.Types.JavaXTypes
- isLastDay(LocalDate) - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns whether the given
LocalDate
is the last day of theShiftedQuarter
. - isObservedModule(ApplicationModule) - Method in class org.springframework.modulith.observability.DefaultObservedModule
- isObservedModule(ApplicationModule) - Method in interface org.springframework.modulith.observability.ObservedModule
- isOpen(List<String>) - Static method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependencies
- isPackageInfoType(JavaClass) - Static method in class org.springframework.modulith.core.JavaPackage
-
Returns whether the given type is the
package-info.java
one. - isPresent() - Static method in class org.springframework.modulith.core.Types.JMoleculesTypes
- isPresent() - Static method in class org.springframework.modulith.core.Types.SpringDataTypes
- isPublicationCompleted() - Method in interface org.springframework.modulith.events.EventPublication
-
Returns whether the publication of the event has completed.
- isRepository() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isRepository() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
-
Returns whether the type is considered a repository in the DDD sense.
- isRepository() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isRepository() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isRepository() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- isService() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isService() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isService() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- isService() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- isSpringDataRepository() - Static method in class org.springframework.modulith.core.Types.SpringDataTypes
- isUnnamed() - Method in class org.springframework.modulith.core.NamedInterface
-
Returns whether this is the unnamed (implicit)
NamedInterface
. - isValidDependencyWithin(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- isValueObject() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- isValueObject() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- isValueObject() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- iterator() - Method in class org.springframework.modulith.core.ApplicationModules
- iterator() - Method in class org.springframework.modulith.core.Classes
- iterator() - Method in class org.springframework.modulith.core.JavaPackage
- iterator() - Method in class org.springframework.modulith.core.NamedInterface
- iterator() - Method in class org.springframework.modulith.core.NamedInterfaces
- iterator() - Method in class org.springframework.modulith.docs.ConfigurationProperties
- iterator() - Method in class org.springframework.modulith.test.ModuleTestExecution
J
- JacksonEventSerializationConfiguration - Class in org.springframework.modulith.events.jackson
-
Application configuration to register a Jackson-based
EventSerializer
. - JacksonEventSerializationConfiguration(ObjectProvider<ObjectMapper>, ApplicationContext) - Constructor for class org.springframework.modulith.events.jackson.JacksonEventSerializationConfiguration
-
Creates a new
JacksonEventSerializationConfiguration
for the givenObjectMapper
andApplicationContext
. - jacksonEventSerializer() - Method in class org.springframework.modulith.events.jackson.JacksonEventSerializationConfiguration
- JacksonEventSerializer - Class in org.springframework.modulith.events.jackson
-
A Jackson-based
EventSerializer
. - JacksonEventSerializer(Supplier<ObjectMapper>) - Constructor for class org.springframework.modulith.events.jackson.JacksonEventSerializer
-
Creates a new
JacksonEventSerializer
for the givenObjectMapper
. - JavaAccessSource - Class in org.springframework.modulith.core
-
A
Source
backed by an ArchUnitJavaAccess
. - JavaAccessSource(JavaAccess<?>) - Constructor for class org.springframework.modulith.core.JavaAccessSource
-
Creates a new
JavaAccessSource
for the givenJavaAccess
. - JavaPackage - Class in org.springframework.modulith.core
-
An abstraction of a Java package.
- JavaXTypes() - Constructor for class org.springframework.modulith.core.Types.JavaXTypes
- JdbcEventPublicationAutoConfiguration - Class in org.springframework.modulith.events.jdbc
- JdbcEventPublicationAutoConfiguration() - Constructor for class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration
- jdbcEventPublicationRepository(JdbcTemplate, EventSerializer, DatabaseType) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationAutoConfiguration
- JdbcEventPublicationRepository - Class in org.springframework.modulith.events.jdbc
-
JDBC-based repository to store
TargetEventPublication
s. - JdbcEventPublicationRepository(JdbcOperations, EventSerializer, DatabaseType) - Constructor for class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
-
Creates a new
JdbcEventPublicationRepository
for the givenJdbcOperations
,EventSerializer
andDatabaseType
. - JMoleculesArchitecturallyEvidentType(JavaClass) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType.JMoleculesArchitecturallyEvidentType
- JMoleculesGroupings() - Constructor for class org.springframework.modulith.docs.Groupings.JMoleculesGroupings
- JMoleculesModule(JavaPackage) - Constructor for class org.springframework.modulith.core.ApplicationModuleInformation.JMoleculesModule
- JMoleculesTypes() - Constructor for class org.springframework.modulith.core.Types.JMoleculesTypes
- jmsEventExternalizer(EventExternalizationConfiguration, JmsOperations, EventSerializer) - Method in class org.springframework.modulith.events.jms.JmsEventExternalizerConfiguration
- JmsEventExternalizerConfiguration - Class in org.springframework.modulith.events.jms
-
Auto-configuration to set up a
DelegatingEventExternalizer
to externalize events to JMS. - JmsEventExternalizerConfiguration() - Constructor for class org.springframework.modulith.events.jms.JmsEventExternalizerConfiguration
- JpaEventPublication - Class in org.springframework.modulith.events.jpa
-
JPA entity to represent event publications.
- JpaEventPublication() - Constructor for class org.springframework.modulith.events.jpa.JpaEventPublication
- JpaEventPublication(UUID, Instant, String, String, Class<?>) - Constructor for class org.springframework.modulith.events.jpa.JpaEventPublication
-
Creates a new
JpaEventPublication
for the given publication date, listener id, serialized event and event type. - JpaEventPublicationAutoConfiguration - Class in org.springframework.modulith.events.jpa
-
Auto-configuration for JPA based event publication.
- JpaEventPublicationAutoConfiguration() - Constructor for class org.springframework.modulith.events.jpa.JpaEventPublicationAutoConfiguration
- JpaEventPublicationConfiguration - Class in org.springframework.modulith.events.jpa
- JpaEventPublicationConfiguration() - Constructor for class org.springframework.modulith.events.jpa.JpaEventPublicationConfiguration
- jpaEventPublicationRepository(EntityManager, EventSerializer) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationConfiguration
- JpaEventPublicationRepository - Class in org.springframework.modulith.events.jpa
-
Repository to store
TargetEventPublication
s. - JpaEventPublicationRepository(EntityManager, EventSerializer) - Constructor for class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- Json - Class in org.springframework.modulith.core.util
-
Helper to render a
Map
as JSON. - Json() - Constructor for class org.springframework.modulith.core.util.Json
- jsonMessageConverter(ObjectMapper) - Method in class org.springframework.modulith.events.kafka.KafkaJacksonConfiguration
K
- kafkaEventExternalizer(EventExternalizationConfiguration, KafkaOperations<Object, Object>, BeanFactory) - Method in class org.springframework.modulith.events.kafka.KafkaEventExternalizerConfiguration
- KafkaEventExternalizerConfiguration - Class in org.springframework.modulith.events.kafka
-
Auto-configuration to set up a
DelegatingEventExternalizer
to externalize events to Kafka. - KafkaEventExternalizerConfiguration() - Constructor for class org.springframework.modulith.events.kafka.KafkaEventExternalizerConfiguration
- KafkaJacksonConfiguration - Class in org.springframework.modulith.events.kafka
-
Auto-configures Spring for Apache Kafka to use JSON as transport format by default.
- KafkaJacksonConfiguration() - Constructor for class org.springframework.modulith.events.kafka.KafkaJacksonConfiguration
- keySet() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Groupings
L
- listenerId - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- listenerId - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- loadIfPresent(String) - Static method in class org.springframework.modulith.core.Types
M
- main(String[]) - Static method in class org.springframework.modulith.core.util.ApplicationModulesExporter
-
Simple main method to render the
ApplicationModules
instance defined for the Java package given as first argument and an optional, second element to name a file to write the output to. - map(Object) - Method in class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
- map(Object) - Method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Map the event to be externalized before publishing it.
- mapping(Class<T>, Function<T, Object>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Registers a type-specific mapping function.
- mapping(Function<Object, Object>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Registers a new mapping
Function
replacing the old one entirely. - markCompleted() - Method in class org.springframework.modulith.events.jpa.JpaEventPublication
- markCompleted(Object, PublicationTargetIdentifier) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- markCompleted(Object, PublicationTargetIdentifier) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Marks the publication for the given event and
PublicationTargetIdentifier
as completed. - markCompleted(Object, PublicationTargetIdentifier, Instant) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Marks the publication for the given event and
PublicationTargetIdentifier
to be completed at the givenInstant
. - markCompleted(Object, PublicationTargetIdentifier, Instant) - Method in class org.springframework.modulith.events.jdbc.JdbcEventPublicationRepository
- markCompleted(Object, PublicationTargetIdentifier, Instant) - Method in class org.springframework.modulith.events.jpa.JpaEventPublicationRepository
- markCompleted(Object, PublicationTargetIdentifier, Instant) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
- markCompleted(Instant) - Method in interface org.springframework.modulith.events.core.Completable
-
Marks the instance as completed at the given
Instant
. - markCompleted(Instant) - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- markCompleted(Instant) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
-
Marks the publication as completed at the given
Instant
. - markCompleted(TargetEventPublication, Instant) - Method in interface org.springframework.modulith.events.core.EventPublicationRepository
-
Marks the given
TargetEventPublication
as completed. - match(MetadataReader, MetadataReaderFactory) - Method in class org.springframework.modulith.test.ModuleTypeExcludeFilter
- matches(SpringBean) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Returns whether the given
SpringBean
matches theDocumenter.CanvasOptions.Grouping
. - matching(Function<T, S>, Predicate<? super S>) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
-
Returns all
PublishedEvents.TypedPublishedEvents
that match the given predicate after applying the given mapping step. - matching(Function<T, S>, Predicate<? super S>) - Method in class org.springframework.modulith.test.PublishedEventsAssert.PublishedEventAssert
- matching(Function<T, S>, S) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
-
Returns all
PublishedEvents.TypedPublishedEvents
that match the given value after applying the given mapping step. - matching(Function<T, S>, S) - Method in class org.springframework.modulith.test.PublishedEventsAssert.PublishedEventAssert
-
Asserts that at least one event exists for which the value extracted by the given
Function
matches the given one. - matching(Predicate<? super E>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Matches events that satisfy the given
Predicate
. - matching(Predicate<? super T>) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
-
Returns all
PublishedEvents.TypedPublishedEvents
that match the given predicate. - matching(Predicate<? super T>) - Method in class org.springframework.modulith.test.PublishedEventsAssert.PublishedEventAssert
-
Asserts that at least one event matches the given predicate.
- matchingMapped(Function<E, S>, Predicate<? super S>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
- matchingMapped(Function<T, S>, Predicate<? super S>) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
-
Deprecated, for removal: This API element is subject to removal in a future version.since 0.3, use
PublishedEvents.TypedPublishedEvents.matching(Function, Predicate)
instead. - matchingMappedValue(Function<E, S>, S) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Matches events that extracting the given value using the given
Function
. - merge(NamedInterface) - Method in class org.springframework.modulith.core.NamedInterface
-
Merges the current
NamedInterface
with the givenNamedInterface
. - MissingRuntimeDependency - Exception in org.springframework.modulith.runtime.autoconfigure
-
An Exception carrying information about a missing runtime dependency to be analyzed by
MissingRuntimeDependencyFailureAnalyzer
. - MissingRuntimeDependency(String, String) - Constructor for exception org.springframework.modulith.runtime.autoconfigure.MissingRuntimeDependency
- MissingRuntimeDependencyFailureAnalyzer - Class in org.springframework.modulith.runtime.autoconfigure
- MissingRuntimeDependencyFailureAnalyzer() - Constructor for class org.springframework.modulith.runtime.autoconfigure.MissingRuntimeDependencyFailureAnalyzer
- mode() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
- MODULE_BAGGAGE_KEY - Static variable in class org.springframework.modulith.observability.ModuleTracingBeanPostProcessor
- moduleBaggagePropagationCustomizer() - Method in class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration.ModulithsBraveIntegrationAutoConfiguration
- ModuleContextCustomizerFactory - Class in org.springframework.modulith.test
- ModuleContextCustomizerFactory() - Constructor for class org.springframework.modulith.test.ModuleContextCustomizerFactory
- ModuleContextCustomizerFactory.ModuleContextCustomizer - Class in org.springframework.modulith.test
- ModuleEntryInterceptor - Class in org.springframework.modulith.observability
- ModuleEventListener - Class in org.springframework.modulith.observability
- ModuleEventListener(ApplicationModulesRuntime, Supplier<Tracer>) - Constructor for class org.springframework.modulith.observability.ModuleEventListener
- ModuleObservabilityAutoConfiguration - Class in org.springframework.modulith.observability.autoconfigure
- ModuleObservabilityAutoConfiguration() - Constructor for class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration
- ModuleObservabilityAutoConfiguration.ModulithsBraveIntegrationAutoConfiguration - Class in org.springframework.modulith.observability.autoconfigure
-
Brave-specific auto configuration.
- ModuleProperty(String, String, String, JavaType, String) - Constructor for record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Creates an instance of a
ModuleProperty
record class. - modulesRuntime(ApplicationRuntime) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- ModuleTestAutoConfiguration - Class in org.springframework.modulith.test
-
An unconditional auto-configuration registering an
ImportBeanDefinitionRegistrar
to customize both the entity scan and auto-configuration packages to the packages defined by theModuleTestExecution
in the application context. - ModuleTestAutoConfiguration() - Constructor for class org.springframework.modulith.test.ModuleTestAutoConfiguration
- ModuleTestAutoConfiguration.AutoConfigurationAndEntityScanPackageCustomizer - Class in org.springframework.modulith.test
- ModuleTestExecution - Class in org.springframework.modulith.test
- moduleTracingBeanPostProcessor(ApplicationModulesRuntime, ObjectProvider<Tracer>) - Static method in class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration
- ModuleTracingBeanPostProcessor - Class in org.springframework.modulith.observability
-
A
BeanPostProcessor
that decorates beans exposed by application modules with an interceptor that registers module entry and exit to create tracing spans for those invocations. - ModuleTracingBeanPostProcessor(ApplicationModulesRuntime, Supplier<Tracer>) - Constructor for class org.springframework.modulith.observability.ModuleTracingBeanPostProcessor
- ModuleTracingSupport - Class in org.springframework.modulith.observability
- ModuleTracingSupport() - Constructor for class org.springframework.modulith.observability.ModuleTracingSupport
- ModuleTypeExcludeFilter - Class in org.springframework.modulith.test
- ModuleTypeExcludeFilter(Class<?>) - Constructor for class org.springframework.modulith.test.ModuleTypeExcludeFilter
- Modulith - Annotation Interface in org.springframework.modulith
-
Defines a Spring Boot application to follow the Modulith structuring conventions.
- Modulithic - Annotation Interface in org.springframework.modulith
-
Defines a Spring Boot application to follow the Modulith structuring conventions.
- ModulithMetadata - Interface in org.springframework.modulith.core
- modulithsApplicationRuntime(ApplicationContext) - Static method in class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- ModulithsBraveIntegrationAutoConfiguration() - Constructor for class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration.ModulithsBraveIntegrationAutoConfiguration
- moments(ObjectProvider<Clock>, ApplicationEventPublisher, MomentsProperties) - Method in class org.springframework.modulith.moments.autoconfigure.MomentsAutoConfiguration
- Moments - Class in org.springframework.modulith.moments.support
-
Core component to publish passage-of-time events.
- Moments(Clock, ApplicationEventPublisher, MomentsProperties) - Constructor for class org.springframework.modulith.moments.support.Moments
- MomentsAutoConfiguration - Class in org.springframework.modulith.moments.autoconfigure
-
Auto-configuration for
Moments
. - MomentsAutoConfiguration() - Constructor for class org.springframework.modulith.moments.autoconfigure.MomentsAutoConfiguration
- MomentsProperties - Class in org.springframework.modulith.moments.support
-
Configuration properties for
Moments
. - MomentsProperties.Granularity - Enum Class in org.springframework.modulith.moments.support
-
The granularity of events to publish.
- MongoDbEventPublication - Class in org.springframework.modulith.events.mongodb
-
A MongoDB Document to represent event publications.
- MongoDbEventPublication(UUID, Instant, String, Object) - Constructor for class org.springframework.modulith.events.mongodb.MongoDbEventPublication
-
Creates a new
MongoDbEventPublication
for the given publication date, listener id and event. - MongoDbEventPublication(UUID, Instant, String, Object, Instant) - Constructor for class org.springframework.modulith.events.mongodb.MongoDbEventPublication
-
Creates a new
MongoDbEventPublication
for the given id, publication date, listener id, event and completion date. - MongoDbEventPublicationAutoConfiguration - Class in org.springframework.modulith.events.mongodb
-
Autoconfiguration for MongoDB event publication repository.
- MongoDbEventPublicationAutoConfiguration() - Constructor for class org.springframework.modulith.events.mongodb.MongoDbEventPublicationAutoConfiguration
- mongoDbEventPublicationRepository(MongoTemplate) - Method in class org.springframework.modulith.events.mongodb.MongoDbEventPublicationAutoConfiguration
- MongoDbEventPublicationRepository - Class in org.springframework.modulith.events.mongodb
-
Repository to store
TargetEventPublication
s in a MongoDB. - MongoDbEventPublicationRepository(MongoTemplate) - Constructor for class org.springframework.modulith.events.mongodb.MongoDbEventPublicationRepository
-
Creates a new
MongoDbEventPublicationRepository
for the givenMongoTemplate
. - MongoDbTransactionAutoConfiguration - Class in org.springframework.modulith.events.mongodb
-
Auto-configuration to enable MongoDB transaction management as that is required for the
EventPublicationRegistry
to work properly. - MongoDbTransactionAutoConfiguration() - Constructor for class org.springframework.modulith.events.mongodb.MongoDbTransactionAutoConfiguration
- MonthHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEvent
published on the last day of the month. - multicastEvent(ApplicationEvent) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- multicastEvent(ApplicationEvent, ResolvableType) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- MYSQL - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
N
- name() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns the value of the
name
record component. - name() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns the value of the
name
record component. - name() - Element in annotation interface org.springframework.modulith.NamedInterface
-
The name(s) of the named interface.
- NamedInterface - Class in org.springframework.modulith.core
-
A named interface into an
ApplicationModule
. - NamedInterface - Annotation Interface in org.springframework.modulith
-
Annotation to mark a package as named interface of a
ApplicationModule
or assign a type to a named interface. - NamedInterfaces - Class in org.springframework.modulith.core
-
A collection of
NamedInterface
s. - nameMatching(String) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Helper method to create a
Predicate
forSpringBean
s matching the given name pattern. - next() - Method in enum class org.springframework.modulith.moments.Quarter
-
Returns the next logical
Quarter
. - next() - Method in class org.springframework.modulith.moments.ShiftedQuarter
-
Returns the next
ShiftedQuarter
. - NONE - Enum constant in enum class org.springframework.modulith.core.DependencyDepth
- NONE - Static variable in class org.springframework.modulith.core.Classes
- NONE - Static variable in class org.springframework.modulith.core.NamedInterfaces
- NONE - Static variable in exception org.springframework.modulith.core.Violations
- now() - Method in class org.springframework.modulith.moments.support.Moments
- now() - Method in class org.springframework.modulith.moments.support.TimeMachine
O
- ObservedModule - Interface in org.springframework.modulith.observability
- ObservedModuleType - Class in org.springframework.modulith.observability
-
Represents a type in an
ObservedModule
. - ObservedModuleType(ApplicationModules, ObservedModule, ArchitecturallyEvidentType) - Constructor for class org.springframework.modulith.observability.ObservedModuleType
-
Creates a new
ObservedModuleType
for the givenApplicationModules
,ObservedModule
andArchitecturallyEvidentType
. - of(int) - Static method in class org.springframework.modulith.moments.YearHasPassed
-
Creates a new
YearHasPassed
event for the given year. - of(JavaClass) - Static method in class org.springframework.modulith.core.FormatableType
-
Creates a new
FormatableType
for the givenJavaClass
. - of(JavaClasses) - Static method in class org.springframework.modulith.core.Classes
-
Creates a new
Classes
for the givenJavaClass
es. - of(JavaClass, List<ArchitecturallyEvidentType>) - Static method in class org.springframework.modulith.core.ArchitecturallyEvidentType.DelegatingType
- of(JavaClass, ApplicationModule) - Static method in class org.springframework.modulith.core.SpringBean
- of(JavaClass, Classes) - Static method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- of(Class<?>) - Static method in class org.springframework.modulith.core.AnnotationModulithMetadata
-
Creates a
ModulithMetadata
inspectingModulithic
annotation or returnOptional.empty()
if the type given does not carry the annotation. - of(Class<?>) - Static method in class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModules
relative to the given modulith type. - of(Class<?>) - Static method in class org.springframework.modulith.core.FormatableType
-
Creates a new
FormatableType
for the givenClass
. - of(Class<?>) - Static method in interface org.springframework.modulith.core.ModulithMetadata
-
Creates a new
ModulithMetadata
for the given annotated type. - of(Class<?>) - Static method in class org.springframework.modulith.core.SpringBootModulithMetadata
-
Creates a new
ModulithMetadata
representing the defaults of a class annotated withSpringBootApplication
but not customized withModulithic
orModulith
. - of(Class<?>) - Static method in class org.springframework.modulith.events.AnnotationTargetLookup
-
Returns the
AnnotationTargetLookup
for the given type. - of(Class<?>) - Static method in class org.springframework.modulith.test.ModuleTestExecution
- of(Class<?>, DescribedPredicate<JavaClass>) - Static method in class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModules
relative to the given modulith type, aApplicationModuleDetectionStrategy
and aDescribedPredicate
which types and packages to ignore. - of(Object...) - Static method in interface org.springframework.modulith.test.PublishedEvents
-
Creates a new
PublishedEvents
instance for the given events. - of(Object, PublicationTargetIdentifier) - Static method in interface org.springframework.modulith.events.core.TargetEventPublication
-
Creates a
TargetEventPublication
for the given event an listener identifier using a defaultInstant
. - of(Object, PublicationTargetIdentifier, Instant) - Static method in interface org.springframework.modulith.events.core.TargetEventPublication
-
Creates a
TargetEventPublication
for the given event an listener identifier and publication date. - of(String) - Static method in class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModules
instance for the given package name. - of(String) - Static method in interface org.springframework.modulith.core.ModulithMetadata
-
Creates a new
ModulithMetadata
instance for the given package. - of(String) - Static method in class org.springframework.modulith.core.SpringBootModulithMetadata
-
Creates a new
ModulithMetadata
from the given package name. - of(String) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Deprecated.no replacement as a name-only
Documenter.CanvasOptions.Grouping
doesn't make any sense in the first place. - of(String) - Static method in class org.springframework.modulith.events.core.PublicationTargetIdentifier
-
Returns the
PublicationTargetIdentifier
for the given value. - of(String) - Static method in class org.springframework.modulith.test.TestApplicationModules
-
Creates an
ApplicationModules
instance from the given package but only inspecting the test code. - of(String, DescribedPredicate<JavaClass>) - Static method in class org.springframework.modulith.core.ApplicationModules
-
Creates a new
ApplicationModules
instance for the given package name and ignored classes. - of(String, Predicate<SpringBean>) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Creates a
Documenter.CanvasOptions.Grouping
with the given name and selectingPredicate
. - of(String, Predicate<SpringBean>, String) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Creates a
Documenter.CanvasOptions.Grouping
with the given name, selectingPredicate
and description. - of(String, ApplicationModule, ApplicationModules) - Static method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependency
-
Creates an
ApplicationModule.DeclaredDependency
to the module and optionally named interface defined by the given identifier. - of(String, Classes) - Static method in class org.springframework.modulith.core.NamedInterface
- of(LocalDate) - Static method in class org.springframework.modulith.moments.DayHasPassed
-
Creates a new
DayHasPassed
for the givenLocalDate
. - of(LocalDateTime) - Static method in class org.springframework.modulith.moments.HourHasPassed
-
Creates a new
HourHasPassed
for the givenLocalDateTime
. - of(Year) - Static method in class org.springframework.modulith.moments.YearHasPassed
-
Creates a new
YearHasPassed
for the givenYear
. - of(YearMonth) - Static method in class org.springframework.modulith.moments.MonthHasPassed
-
Creates a new
MonthHasPassed
for the givenYearMonth
. - of(Year, int) - Static method in class org.springframework.modulith.moments.WeekHasPassed
-
Creates a new
WeekHasPassed
for the givenYear
and week of the year. - of(Year, int, Locale) - Static method in class org.springframework.modulith.moments.WeekHasPassed
- of(Year, Quarter) - Static method in class org.springframework.modulith.moments.QuarterHasPassed
- of(Year, Quarter, Month) - Static method in class org.springframework.modulith.moments.QuarterHasPassed
- of(Year, ShiftedQuarter) - Static method in class org.springframework.modulith.moments.QuarterHasPassed
- of(Collection<? extends Object>) - Static method in interface org.springframework.modulith.test.PublishedEvents
-
Creates a new
PublishedEvents
instance for the given events. - of(List<JavaClass>) - Static method in class org.springframework.modulith.core.Classes
-
Creates a new
Classes
for the givenJavaClass
es. - of(List<ApplicationModuleDependency>, ApplicationModules) - Static method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Creates a new
ApplicationModuleDependencies
for the givenList
ofApplicationModuleDependency
andApplicationModules
. - of(List<NamedInterface>) - Static method in class org.springframework.modulith.core.NamedInterfaces
-
Creates a new
NamedInterfaces
for the givenNamedInterface
s. - of(Map<String, Object>) - Static method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
- of(Classes, String) - Static method in class org.springframework.modulith.core.JavaPackage
-
Creates a new
JavaPackage
for the given classes and name. - of(JavaPackage) - Static method in interface org.springframework.modulith.core.ApplicationModuleInformation
-
Creates a new
ApplicationModuleInformation
for the givenJavaPackage
. - of(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterface
-
Returns all
NamedInterface
s for the givenJavaPackage
. - of(RoutingTarget, EvaluationContext) - Static method in class org.springframework.modulith.events.support.BrokerRouting
- of(Quarter) - Static method in class org.springframework.modulith.moments.ShiftedQuarter
- of(Quarter, Month) - Static method in class org.springframework.modulith.moments.ShiftedQuarter
- of(ObservedModule, Tracer) - Static method in class org.springframework.modulith.observability.ModuleEntryInterceptor
- ofAnnotatedPackages(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterfaces
-
Creates a new
NamedInterfaces
for the given baseJavaPackage
. - ofSubType(Class<S>) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
-
Further constrain the event type for downstream assertions.
- ofType(Class<S>) - Method in interface org.springframework.modulith.test.PublishedEvents.TypedPublishedEvents
- ofType(Class<T>) - Method in class org.springframework.modulith.test.DefaultAssertablePublishedEvents
- ofType(Class<T>) - Method in class org.springframework.modulith.test.DefaultPublishedEvents
- ofType(Class<T>) - Method in interface org.springframework.modulith.test.PublishedEvents
- ofType(Class<T>) - Method in interface org.springframework.modulith.test.TypedEvents
-
Returns all events of the given type.
- onApplicationEvent(ApplicationEvent) - Method in class org.springframework.modulith.observability.ModuleEventListener
- onApplicationEvent(ApplicationEvent) - Method in class org.springframework.modulith.test.DefaultAssertablePublishedEvents
- onApplicationEvent(ApplicationEvent) - Method in class org.springframework.modulith.test.DefaultPublishedEvents
- open() - Static method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependencies
- OPEN_TOKEN - Static variable in annotation interface org.springframework.modulith.ApplicationModule
- org.springframework.modulith - package org.springframework.modulith
-
Core abstractions of Spring Modulith.
- org.springframework.modulith.actuator - package org.springframework.modulith.actuator
-
Spring Boot actuator support for Spring Modulith.
- org.springframework.modulith.actuator.autoconfigure - package org.springframework.modulith.actuator.autoconfigure
-
Autoconfiguration for Spring Modulith actuators.
- org.springframework.modulith.core - package org.springframework.modulith.core
-
Core, internal abstractions of Spring Modulith.
- org.springframework.modulith.core.util - package org.springframework.modulith.core.util
-
Utilities.
- org.springframework.modulith.docs - package org.springframework.modulith.docs
-
Documentation support for Spring Modulith.
- org.springframework.modulith.events - package org.springframework.modulith.events
-
API of the event publication registry abstraction.
- org.springframework.modulith.events.amqp - package org.springframework.modulith.events.amqp
- org.springframework.modulith.events.config - package org.springframework.modulith.events.config
-
Spring configuration for the event publication registry.
- org.springframework.modulith.events.core - package org.springframework.modulith.events.core
-
The event publication registry abstraction.
- org.springframework.modulith.events.jackson - package org.springframework.modulith.events.jackson
-
A Jackson based implementation of the
EventSerializer
. - org.springframework.modulith.events.jdbc - package org.springframework.modulith.events.jdbc
-
JDBC integration for
EventPublicationRepository
. - org.springframework.modulith.events.jms - package org.springframework.modulith.events.jms
- org.springframework.modulith.events.jpa - package org.springframework.modulith.events.jpa
-
JPA integration for
EventPublicationRepository
. - org.springframework.modulith.events.kafka - package org.springframework.modulith.events.kafka
- org.springframework.modulith.events.mongodb - package org.springframework.modulith.events.mongodb
-
MongoDB integration for
EventPublicationRepository
. - org.springframework.modulith.events.support - package org.springframework.modulith.events.support
-
Spring Framework extensions to integrate the event publication registry.
- org.springframework.modulith.moments - package org.springframework.modulith.moments
-
An Passage-of-Time events implementation.
- org.springframework.modulith.moments.autoconfigure - package org.springframework.modulith.moments.autoconfigure
-
Autoconfiguration for the
Moments
API. - org.springframework.modulith.moments.support - package org.springframework.modulith.moments.support
-
The
Moments
abstraction to integrate with Spring Framework's scheduling. - org.springframework.modulith.observability - package org.springframework.modulith.observability
-
Support for application module observability.
- org.springframework.modulith.observability.autoconfigure - package org.springframework.modulith.observability.autoconfigure
-
Autoconfiguration for the observability integration.
- org.springframework.modulith.runtime - package org.springframework.modulith.runtime
-
Support to run
ApplicationModules
at application runtime. - org.springframework.modulith.runtime.autoconfigure - package org.springframework.modulith.runtime.autoconfigure
-
Autoconfiguration the
ApplicationModules
runtime support. - org.springframework.modulith.test - package org.springframework.modulith.test
-
Integration test support for Spring Modulith
ApplicationModules
.
P
- parse(String) - Static method in class org.springframework.modulith.events.RoutingTarget
-
Creates a new
RoutingTarget.ParsedRoutingTarget
by parsing the given source. - ParsedRoutingTarget(String, String) - Constructor for class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- PersistentApplicationEventMulticaster - Class in org.springframework.modulith.events.support
-
An
ApplicationEventMulticaster
to registerEventPublication
s in anEventPublicationRegistry
so that potentially failing transactional event listeners can get re-invoked upon application restart or via a schedule. - PersistentApplicationEventMulticaster(Supplier<EventPublicationRegistry>, Supplier<Environment>) - Constructor for class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
-
Creates a new
PersistentApplicationEventMulticaster
for the givenEventPublicationRegistry
. - PersistentApplicationEventMulticaster.TransactionalEventListeners - Class in org.springframework.modulith.events.support
-
First-class collection to work with transactional event listeners, i.e.
- PersistentDomainEventsImportSelector(ResourceLoader) - Constructor for class org.springframework.modulith.events.config.EnablePersistentDomainEvents.PersistentDomainEventsImportSelector
- POSTGRES - Enum constant in enum class org.springframework.modulith.events.jdbc.DatabaseType
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.modulith.events.config.EventPublicationAutoConfiguration.AsyncPropertiesDefaulter
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.modulith.observability.ModuleTracingBeanPostProcessor
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.modulith.observability.SpringDataRestModuleTracingBeanPostProcessor
- publicationDate - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- publicationDate - Variable in class org.springframework.modulith.events.mongodb.MongoDbEventPublication
- PublicationTargetIdentifier - Class in org.springframework.modulith.events.core
-
Identifier for a publication target.
- publish(Object) - Method in class org.springframework.modulith.test.Scenario
-
Publishes the given event.
- publish(Supplier<Object>) - Method in class org.springframework.modulith.test.Scenario
-
Publishes the event provided by the given
Supplier
. - PublishedEvents - Interface in org.springframework.modulith.test
-
All Spring application events fired during the test execution.
- PublishedEvents.TypedPublishedEvents<T> - Interface in org.springframework.modulith.test
-
All application events of a given type that were fired during a test execution.
- PublishedEventsAssert - Class in org.springframework.modulith.test
-
AssertJ
Assert
forPublishedEvents
. - PublishedEventsAssert(TypedEvents) - Constructor for class org.springframework.modulith.test.PublishedEventsAssert
-
Creates a new
PublishedEventsAssert
- PublishedEventsAssert.PublishedEventAssert<T> - Class in org.springframework.modulith.test
-
Assertions further qualifying the expected events.
- PublishedEventsExtension - Class in org.springframework.modulith.test
-
JUnit 5
Extension
for standalone usage withoutApplicationModuleTest
. - PublishedEventsExtension() - Constructor for class org.springframework.modulith.test.PublishedEventsExtension
- PublishedEventsParameterResolver - Class in org.springframework.modulith.test
-
Provides instances of
PublishedEvents
as test method parameters. - PublishedEventsParameterResolver() - Constructor for class org.springframework.modulith.test.PublishedEventsParameterResolver
- PublishedEventsParameterResolver(Function<ExtensionContext, ApplicationContext>) - Constructor for class org.springframework.modulith.test.PublishedEventsParameterResolver
Q
- Q1 - Enum constant in enum class org.springframework.modulith.moments.Quarter
- Q2 - Enum constant in enum class org.springframework.modulith.moments.Quarter
- Q3 - Enum constant in enum class org.springframework.modulith.moments.Quarter
- Q4 - Enum constant in enum class org.springframework.modulith.moments.Quarter
- QualifiedDependency(Dependency) - Constructor for class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- QualifiedDependency(JavaClass, JavaClass, String, DependencyType) - Constructor for class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
-
Creates a new
ApplicationModule.QualifiedDependency
from the given source and targetJavaClass
, description andDependencyType
. - Quarter - Enum Class in org.springframework.modulith.moments
-
A logical
Quarter
of the year. - QuarterHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEvent
published once a quarter has passed.
R
- rabbitEventExternalizer(EventExternalizationConfiguration, RabbitMessageOperations, BeanFactory) - Method in class org.springframework.modulith.events.amqp.RabbitEventExternalizerConfiguration
- RabbitEventExternalizerConfiguration - Class in org.springframework.modulith.events.amqp
-
Auto-configuration to set up a
DelegatingEventExternalizer
to externalize events to RabbitMQ. - RabbitEventExternalizerConfiguration() - Constructor for class org.springframework.modulith.events.amqp.RabbitEventExternalizerConfiguration
- RabbitJacksonConfiguration - Class in org.springframework.modulith.events.amqp
-
Auto-configuration to configure
RabbitTemplate
to use the JacksonObjectMapper
present in the application. - RabbitJacksonConfiguration() - Constructor for class org.springframework.modulith.events.amqp.RabbitJacksonConfiguration
- rabbitTemplateCustomizer(ObjectMapper) - Method in class org.springframework.modulith.events.amqp.RabbitJacksonConfiguration
- readOnlyTransaction() - Element in annotation interface org.springframework.modulith.ApplicationModuleListener
-
Whether the transaction to be run for the event listener is supposed to be read-only (default false).
- ReferenceMethod(JavaMethod) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType.ReferenceMethod
- registerBeanDefinitions(AnnotationMetadata, BeanDefinitionRegistry) - Method in class org.springframework.modulith.test.ModuleTestAutoConfiguration.AutoConfigurationAndEntityScanPackageCustomizer
- renderBeanReferences(ApplicationModule) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderConfigurationProperties(ApplicationModule, List<ConfigurationProperties.ModuleProperty>) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderEvents(ApplicationModule) - Method in class org.springframework.modulith.docs.Asciidoctor
- renderSpringBeans(ApplicationModule, Documenter.CanvasOptions) - Method in class org.springframework.modulith.docs.Asciidoctor
- REPOSITORY - Static variable in class org.springframework.modulith.core.Types.SpringDataTypes
- REPUBLISH_ON_RESTART - Static variable in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.modulith.test.PublishedEventsParameterResolver
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.modulith.test.ScenarioParameterResolver
- resubmitIncompletePublications(Predicate<EventPublication>) - Method in interface org.springframework.modulith.events.IncompleteEventPublications
-
Triggers the re-submission of events for which incomplete
EventPublication
s are registered. - resubmitIncompletePublications(Predicate<EventPublication>) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- resubmitIncompletePublicationsOlderThan(Duration) - Method in interface org.springframework.modulith.events.IncompleteEventPublications
-
Triggers the re-submission of events for which incomplete
EventPublication
s are registered that exceed a certain age regarding their original publication date. - resubmitIncompletePublicationsOlderThan(Duration) - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster
- revealEmptyLines() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Enables table rows not containing any values to be retained in the output.
- revealInternals() - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Enables the inclusion of internal components in the module canvas.
- route(Class<T>, Function<T, RoutingTarget>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Registers a router function for the events of the given specific type.
- routeAll(Function<Object, RoutingTarget>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Routes all events based on the given function.
- routeAllByType(Function<Class<?>, RoutingTarget>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Routes all messages based on the event type only.
- routeKey(Class<T>, Function<T, String>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Registers a
BiFunction
to resolve the key for aRoutingTarget
based on the event instance. - routeMapped() - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Configures the routing to rather use the mapping result rather than the original event instance.
- routeOptional(Function<Object, Optional<RoutingTarget>>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Routes by extracting an
Optional
route from the event. - routeOptionalByType(Function<Class<?>, Optional<RoutingTarget>>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Routes by extracting an
Optional
route from the event type. - Router(Predicate<Object>) - Constructor for class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Creates a new
EventExternalizationConfiguration.Router
for the given selector filter. - Router(Predicate<Object>, Function<Object, Object>, Function<Object, RoutingTarget>) - Constructor for class org.springframework.modulith.events.EventExternalizationConfiguration.Router
-
Creates a new
EventExternalizationConfiguration.Router
for the given selectorPredicate
and mapper and routerFunction
s. - RoutingTarget - Class in org.springframework.modulith.events
-
A
String
-based routing target that supports a::
delimiter to separate the sole target from an additional key. - RoutingTarget.ParsedRoutingTarget - Class in org.springframework.modulith.events
-
A parsed routing target that can have null target and key values.
- RoutingTarget.RoutingTargetBuilder - Class in org.springframework.modulith.events
-
An intermediary to ultimately create
RoutingTarget
instances.
S
- Scenario - Class in org.springframework.modulith.test
-
A DSL to define integration testing scenarios for application modules.
- Scenario(TransactionTemplate, ApplicationEventPublisher, AssertablePublishedEvents) - Constructor for class org.springframework.modulith.test.Scenario
-
Creates a new
Scenario
for the givenTransactionTemplate
,ApplicationEventPublisher
andAssertablePublishedEvents
. - Scenario.When<T> - Class in org.springframework.modulith.test
- Scenario.When.EventResult<E> - Class in org.springframework.modulith.test
-
The result of an expected event publication.
- Scenario.When.StateChangeResult<S> - Class in org.springframework.modulith.test
-
The result of an expected state change.
- ScenarioCustomizer - Interface in org.springframework.modulith.test
-
A JUnit
InvocationInterceptor
to register a default customizer to be applied to allScenario
instances associated with that test case. - ScenarioParameterResolver - Class in org.springframework.modulith.test
-
JUnit
ParameterResolver
forScenario
. - ScenarioParameterResolver() - Constructor for class org.springframework.modulith.test.ScenarioParameterResolver
-
Creates a new
ScenarioParameterResolver
. - select(Predicate<Object>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to externalize by applying the given
Predicate
. - selectAndRoute(Class<T>, BiFunction<Object, T, RoutingTarget>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events by the presence of an annotation of the given type and routes based on the given router
BiFunction
that also gets the event type to build up a completeRoutingTarget
. - selectAndRoute(Class<T>, Function<T, String>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events by the presence of an annotation of the given type and routes based on the given router
Function
. - selectByAnnotation(Class<? extends Annotation>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to be externalized by inspecting the event type for the given annotation.
- selectByPackage(Class<?>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to externalize by the package of the given type and all sub-packages.
- selectByPackage(String) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to externalize by the given base package and all sub-packages.
- selectByPackagesAndFilter(Collection<String>, Predicate<Object>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to externalize by the given base packages (and their sub-packages) that match the given filter
Predicate
. - selectByType(Class<?>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to be externalized by type.
- selectByType(Predicate<Class<?>>) - Method in class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Selects events to be externalized by the given
Predicate
. - selectImports(AnnotationMetadata) - Method in class org.springframework.modulith.events.config.EnablePersistentDomainEvents.PersistentDomainEventsImportSelector
- Selector() - Constructor for class org.springframework.modulith.events.EventExternalizationConfiguration.Selector
-
Creates a new
EventExternalizationConfiguration.Selector
. - serialize(Object) - Method in interface org.springframework.modulith.events.core.EventSerializer
-
Serializes the given event into a storable format.
- serialize(Object) - Method in class org.springframework.modulith.events.jackson.JacksonEventSerializer
- serializedEvent - Variable in class org.springframework.modulith.events.jpa.JpaEventPublication
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.modulith.observability.ModuleTracingSupport
- setDefaultCustomizer(Function<ConditionFactory, ConditionFactory>) - Method in class org.springframework.modulith.test.Scenario
-
Extension hook to allow registration of a global customizer.
- setResourceLoader(ResourceLoader) - Method in class org.springframework.modulith.events.config.EnablePersistentDomainEvents.PersistentDomainEventsImportSelector
- sharedModules() - Element in annotation interface org.springframework.modulith.Modulith
-
The names of modules considered to be shared, i.e.
- sharedModules() - Element in annotation interface org.springframework.modulith.Modulithic
-
The names of modules considered to be shared, i.e.
- shiftBy(Duration) - Method in class org.springframework.modulith.moments.support.Moments
- shiftBy(Duration) - Method in class org.springframework.modulith.moments.support.TimeMachine
- ShiftedQuarter - Class in org.springframework.modulith.moments
-
A quarter that can be shifted to start at a configurable
Month
. - shouldBeTraced() - Method in class org.springframework.modulith.observability.ObservedModuleType
-
Returns whether the type should be traced at all.
- Source - Interface in org.springframework.modulith.core
-
A
Source
of some type, bean definition etc. - sourceType() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns the value of the
sourceType
record component. - sourceType() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns the value of the
sourceType
record component. - spanHandler() - Method in class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration.ModulithsBraveIntegrationAutoConfiguration
- SpringAutoRestDocsDocumentationSource - Class in org.springframework.modulith.docs
-
A
DocumentationSource
that uses metadata generated by Spring Auto REST Docs' Javadoc Doclet. - SpringAutoRestDocsDocumentationSource() - Constructor for class org.springframework.modulith.docs.SpringAutoRestDocsDocumentationSource
- SpringAwareArchitecturallyEvidentType(JavaClass, Classes) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringAwareArchitecturallyEvidentType
- SpringBean - Class in org.springframework.modulith.core
-
A Spring bean type.
- SpringBootApplicationRuntime - Class in org.springframework.modulith.runtime.autoconfigure
-
ApplicationRuntime
implementation based on anApplicationContext
and a class that's annotated withSpringBootApplication
. - SpringBootApplicationRuntime(ApplicationContext) - Constructor for class org.springframework.modulith.runtime.autoconfigure.SpringBootApplicationRuntime
-
Creates a new
SpringBootApplicationRuntime
for the givenApplicationContext
. - SpringBootModulithMetadata - Class in org.springframework.modulith.core
-
Creates a new
ModulithMetadata
representing the defaults ofModulithic
but without the annotation present. - SpringDataAwareArchitecturallyEvidentType(JavaClass, Classes) - Constructor for class org.springframework.modulith.core.ArchitecturallyEvidentType.SpringDataAwareArchitecturallyEvidentType
- SpringDataRestModuleObservabilityAutoConfiguration - Class in org.springframework.modulith.observability.autoconfigure
- SpringDataRestModuleObservabilityAutoConfiguration() - Constructor for class org.springframework.modulith.observability.autoconfigure.SpringDataRestModuleObservabilityAutoConfiguration
- springDataRestModuleTracingBeanPostProcessor(ApplicationModulesRuntime, ObjectProvider<Tracer>) - Static method in class org.springframework.modulith.observability.autoconfigure.SpringDataRestModuleObservabilityAutoConfiguration
- SpringDataRestModuleTracingBeanPostProcessor - Class in org.springframework.modulith.observability
- SpringDataRestModuleTracingBeanPostProcessor(ApplicationModulesRuntime, Supplier<Tracer>) - Constructor for class org.springframework.modulith.observability.SpringDataRestModuleTracingBeanPostProcessor
-
Creates a new
SpringDataRestModuleTracingBeanPostProcessor
for the givenApplicationModulesRuntime
andTracer
. - SpringDataTypes() - Constructor for class org.springframework.modulith.core.Types.SpringDataTypes
- SpringGroupings() - Constructor for class org.springframework.modulith.docs.Groupings.SpringGroupings
- SpringModulithModule(JavaPackage) - Constructor for class org.springframework.modulith.core.ApplicationModuleInformation.SpringModulithModule
-
Creates a new
ApplicationModuleInformation.SpringModulithModule
for the givenJavaPackage
. - SpringModulithRuntimeAutoConfiguration - Class in org.springframework.modulith.runtime.autoconfigure
-
Auto-configuration to register a
SpringBootApplicationRuntime
, aApplicationModulesRuntime
and anApplicationListener
to invoke allApplicationModuleInitializer
s as Spring Bean. - SpringModulithRuntimeAutoConfiguration() - Constructor for class org.springframework.modulith.runtime.autoconfigure.SpringModulithRuntimeAutoConfiguration
- SpringModulithRuntimeAutoConfiguration.ArchUnitRuntimeDependencyMissingConfiguration - Class in org.springframework.modulith.runtime.autoconfigure
-
Auto-configuration to react to ArchUnit missing on the runtime classpath.
- SpringTypes() - Constructor for class org.springframework.modulith.core.Types.SpringTypes
- STANDALONE - Enum constant in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Bootstraps the current module only.
- startOrEndTable() - Static method in class org.springframework.modulith.docs.Asciidoctor
- startTable(String) - Static method in class org.springframework.modulith.docs.Asciidoctor
- StateChangeResult(Scenario.When.ExecutionResult<S, T>) - Constructor for class org.springframework.modulith.test.Scenario.When.StateChangeResult
- stimulate(Runnable) - Method in class org.springframework.modulith.test.Scenario
-
Stimulates the system by executing the given
Runnable
. - stimulate(BiConsumer<TransactionOperations, ApplicationEventPublisher>) - Method in class org.springframework.modulith.test.Scenario
-
Stimulate the system using the given
TransactionOperations
andApplicationEventPublisher
. - stimulate(BiFunction<TransactionOperations, ApplicationEventPublisher, S>) - Method in class org.springframework.modulith.test.Scenario
-
Stimulate the system using the given
TransactionOperations
andApplicationEventPublisher
and produce a result. - stimulate(Function<TransactionOperations, S>) - Method in class org.springframework.modulith.test.Scenario
-
Stimulates the system using the given function providing access to the
TransactionOperations
and keeping the supplied value around for later verification. - stimulate(Supplier<S>) - Method in class org.springframework.modulith.test.Scenario
-
Stimulates the system using the given
Supplier
and keeping the supplied value around for later verification. - store(Object, Stream<PublicationTargetIdentifier>) - Method in class org.springframework.modulith.events.core.DefaultEventPublicationRegistry
- store(Object, Stream<PublicationTargetIdentifier>) - Method in interface org.springframework.modulith.events.core.EventPublicationRegistry
-
Stores
TargetEventPublication
s for the given event andApplicationListener
s. - stream() - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Returns all
ApplicationModuleDependency
instances asStream
. - stream() - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns all
ApplicationModule
s. - stream() - Method in class org.springframework.modulith.core.Classes
- stream() - Method in class org.springframework.modulith.core.JavaPackage
- stream() - Method in class org.springframework.modulith.core.NamedInterfaces
-
Create a
Stream
ofNamedInterface
s. - stream() - Method in class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Returns all transactional event listeners.
- subtypeOf(Class<?>) - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions.Grouping
-
Helper method to create a
Predicate
forSpringBean
s that are a subtype of the given one. - supports(Object) - Method in interface org.springframework.modulith.events.core.ConditionalEventListener
-
Returns whether the given event instance is supported by the listener.
- supports(Object) - Method in class org.springframework.modulith.events.DefaultEventExternalizationConfiguration
- supports(Object) - Method in interface org.springframework.modulith.events.EventExternalizationConfiguration
-
Whether the configuration supports the given event.
- supports(Object) - Method in class org.springframework.modulith.events.support.EventExternalizationSupport
- supports(JavaPackage) - Static method in class org.springframework.modulith.core.ApplicationModuleInformation.JMoleculesModule
- supports(JavaPackage) - Static method in class org.springframework.modulith.core.ApplicationModuleInformation.SpringModulithModule
-
Whether the given
JavaPackage
supports thisApplicationModuleInformation
. - supportsParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.modulith.test.PublishedEventsParameterResolver
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.modulith.test.ScenarioParameterResolver
- systemName() - Element in annotation interface org.springframework.modulith.Modulith
-
A logical system name for documentation purposes.
- systemName() - Element in annotation interface org.springframework.modulith.Modulithic
-
A logical system name for documentation purposes.
T
- target() - Element in annotation interface org.springframework.modulith.events.Externalized
-
The logical target name.
- TargetEventPublication - Interface in org.springframework.modulith.events.core
-
An event publication.
- TestApplicationModules - Class in org.springframework.modulith.test
-
Utility methods to work with test
ApplicationModules
. - TestApplicationModules() - Constructor for class org.springframework.modulith.test.TestApplicationModules
- that(DescribedPredicate<? super JavaClass>) - Method in class org.springframework.modulith.core.Classes
-
Returns
Classes
that match the givenDescribedPredicate
. - that(DescribedPredicate<? super JavaClass>) - Method in class org.springframework.modulith.core.JavaPackage
-
Returns all
Classes
that match the givenDescribedPredicate
. - throwIfPresent() - Method in exception org.springframework.modulith.core.Violations
-
Throws itself in case it's not an empty instance.
- timeMachine(ObjectProvider<Clock>, ApplicationEventPublisher, MomentsProperties) - Method in class org.springframework.modulith.moments.autoconfigure.MomentsAutoConfiguration
- TimeMachine - Class in org.springframework.modulith.moments.support
-
Extension of
Moments
to publicly expose methods to shift time. - TimeMachine(Clock, ApplicationEventPublisher, MomentsProperties) - Constructor for class org.springframework.modulith.moments.support.TimeMachine
- to(ApplicationModule) - Static method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependency
-
Creates a new
ApplicationModule.DeclaredDependency
to the unnamed interface of the givenApplicationModule
. - toArchitecturallyEvidentType() - Method in class org.springframework.modulith.core.SpringBean
-
Creates a new
ArchitecturallyEvidentType
from the currentSpringBean
. - toArrive() - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Awaits an event of the given specification to arrive.
- toArriveAndAssert(BiConsumer<PublishedEventsAssert.PublishedEventAssert<? super E>, T>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Expects the events previously specified to arrive and additionally assert the
PublishedEventsAssert
for the captured event and original stimulus result. - toArriveAndAssert(Consumer<PublishedEventsAssert.PublishedEventAssert<? super E>>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Expects the events previously specified to arrive and additionally assert the
PublishedEventsAssert
for the captured event. - toArriveAndVerify(BiConsumer<E, T>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Awaits an event of the given specification to arrive and invokes the given consumer with it as well as the result created by the stimulus.
- toArriveAndVerify(Consumer<E>) - Method in class org.springframework.modulith.test.Scenario.When.EventResult
-
Awaits an event of the given specification to arrive and invokes the given consumer with it.
- toAsciidoctor(String) - Method in class org.springframework.modulith.docs.Asciidoctor
- toBulletPoint(String) - Method in class org.springframework.modulith.docs.Asciidoctor
- toClasses() - Static method in class org.springframework.modulith.core.Classes
- toFullJson() - Method in class org.springframework.modulith.core.util.ApplicationModulesExporter
-
Returns the
ApplicationModules
structure as JSON String including full details, such as named interfaces etc. - toInlineCode(JavaClass) - Method in class org.springframework.modulith.docs.Asciidoctor
- toInlineCode(String) - Method in class org.springframework.modulith.docs.Asciidoctor
-
Turns the given source string into inline code.
- toInlineCode(SpringBean) - Method in class org.springframework.modulith.docs.Asciidoctor
- toJson() - Method in class org.springframework.modulith.core.util.ApplicationModulesExporter
-
Returns the
ApplicationModules
structure as JSON String. - toModuleCanvas(ApplicationModule) - Method in class org.springframework.modulith.docs.Documenter
- toModuleCanvas(ApplicationModule, String) - Method in class org.springframework.modulith.docs.Documenter
- toModuleCanvas(ApplicationModule, Documenter.CanvasOptions) - Method in class org.springframework.modulith.docs.Documenter
- toOptional() - Method in class org.springframework.modulith.core.Classes
- toPlantUml() - Method in class org.springframework.modulith.docs.Documenter
- toRoutingTarget() - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- toSingle() - Method in class org.springframework.modulith.core.JavaPackage
-
Reduces the
JavaPackage
to only its base package. - toString() - Method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependencies
- toString() - Method in class org.springframework.modulith.core.ApplicationModule.DeclaredDependency
- toString() - Method in class org.springframework.modulith.core.ApplicationModule.QualifiedDependency
- toString() - Method in class org.springframework.modulith.core.ApplicationModule
- toString() - Method in class org.springframework.modulith.core.ApplicationModules
- toString() - Method in class org.springframework.modulith.core.ArchitecturallyEvidentType
- toString() - Method in class org.springframework.modulith.core.Classes
- toString() - Method in class org.springframework.modulith.core.EventType
- toString() - Method in class org.springframework.modulith.core.JavaPackage
- toString() - Method in class org.springframework.modulith.core.NamedInterface
- toString() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns a string representation of this record class.
- toString() - Method in class org.springframework.modulith.events.core.DefaultEventPublication
- toString() - Method in class org.springframework.modulith.events.core.PublicationTargetIdentifier
- toString() - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- toString() - Method in class org.springframework.modulith.events.RoutingTarget
- toString() - Method in class org.springframework.modulith.test.DefaultAssertablePublishedEvents
- toString() - Method in class org.springframework.modulith.test.DefaultPublishedEvents
- toString(Object) - Static method in class org.springframework.modulith.core.util.Json
- toString(ApplicationModule) - Method in class org.springframework.modulith.core.JavaAccessSource
- toString(ApplicationModule) - Method in interface org.springframework.modulith.core.Source
-
Renders the source in human readable way.
- toString(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
- toViolations() - Static method in exception org.springframework.modulith.core.Violations
- tracingModuleEventListener(ApplicationModulesRuntime, ObjectProvider<Tracer>) - Static method in class org.springframework.modulith.observability.autoconfigure.ModuleObservabilityAutoConfiguration
- TransactionalEventListeners(Collection<ApplicationListener<?>>) - Constructor for class org.springframework.modulith.events.support.PersistentApplicationEventMulticaster.TransactionalEventListeners
-
Creates a new
PersistentApplicationEventMulticaster.TransactionalEventListeners
instance by filtering all elements implementingTransactionalApplicationListener
. - transactionManager(MongoDatabaseFactory) - Method in class org.springframework.modulith.events.mongodb.MongoDbTransactionAutoConfiguration
- transactionTemplate(PlatformTransactionManager) - Method in class org.springframework.modulith.events.mongodb.MongoDbTransactionAutoConfiguration
- type() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ConfigurationProperty
-
Returns the value of the
type
record component. - type() - Method in record class org.springframework.modulith.docs.ConfigurationProperties.ModuleProperty
-
Returns the value of the
type
record component. - TypedEvents - Interface in org.springframework.modulith.test
- Types - Class in org.springframework.modulith.core
- Types() - Constructor for class org.springframework.modulith.core.Types
- Types.JavaXTypes - Class in org.springframework.modulith.core
- Types.JMoleculesTypes - Class in org.springframework.modulith.core
- Types.SpringDataTypes - Class in org.springframework.modulith.core
- Types.SpringTypes - Class in org.springframework.modulith.core
- typesToBulletPoints(List<JavaClass>) - Method in class org.springframework.modulith.docs.Asciidoctor
U
- UML - Enum constant in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.DiagramStyle
-
A plain UML component diagram.
- uniqueStream(Function<ApplicationModuleDependency, Object>) - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
-
Return all
ApplicationModuleDependency
instances unique by the value extracted using the givenFunction
. - unnamed(JavaPackage) - Static method in class org.springframework.modulith.core.NamedInterface
-
Creates an unnamed
NamedInterface
for the givenJavaPackage
. - UNNAMED_NAME - Static variable in class org.springframework.modulith.core.NamedInterface
- useFullyQualifiedModuleNames() - Method in class org.springframework.modulith.core.AnnotationModulithMetadata
- useFullyQualifiedModuleNames() - Method in interface org.springframework.modulith.core.ModulithMetadata
-
Whether to use fully-qualified module names, i.e.
- useFullyQualifiedModuleNames() - Method in class org.springframework.modulith.core.SpringBootModulithMetadata
- useFullyQualifiedModuleNames() - Element in annotation interface org.springframework.modulith.Modulith
-
Whether to use fully qualified module names by default.
- useFullyQualifiedModuleNames() - Element in annotation interface org.springframework.modulith.Modulithic
-
Whether to use fully qualified module names by default.
- USES_COMPONENT - Enum constant in enum class org.springframework.modulith.core.DependencyType
-
Indicates that the module depends on the other one by a component dependency, i.e.
- uuidToDatabase(UUID) - Method in enum class org.springframework.modulith.events.jdbc.DatabaseType
V
- value() - Element in annotation interface org.springframework.modulith.events.Externalized
-
The logical target name.
- value() - Element in annotation interface org.springframework.modulith.NamedInterface
-
The name(s) of the named interface.
- value() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
- valueOf(String) - Static method in enum class org.springframework.modulith.core.ApplicationModuleDetectionStrategies
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.core.DependencyDepth
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.core.DependencyType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.DiagramStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.ElementsWithoutRelationships
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.events.jdbc.DatabaseType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.moments.Quarter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.modulith.core.ApplicationModuleDetectionStrategies
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.core.DependencyDepth
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.core.DependencyType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.DiagramStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.ElementsWithoutRelationships
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.events.jdbc.DatabaseType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.moments.Quarter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.moments.support.MomentsProperties.Granularity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.modulith.test.ApplicationModuleTest.BootstrapMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify() - Method in class org.springframework.modulith.core.ApplicationModules
-
Execute all verifications to be applied, unless the verification has been executed before.
- verify() - Method in class org.springframework.modulith.events.RoutingTarget
- verify() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Explicitly trigger the module structure verification.
- verifyAutomatically() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
-
Whether to automatically verify the module structure for validity.
- verifyDependencies(ApplicationModules) - Method in class org.springframework.modulith.core.ApplicationModule
- verifyModule() - Method in class org.springframework.modulith.test.ModuleTestExecution
-
Verifies the setup of the module bootstrapped by this execution.
- Violations - Exception in org.springframework.modulith.core
-
Value type to gather and report architectural violations.
- VISIBLE - Enum constant in enum class org.springframework.modulith.docs.Documenter.DiagramOptions.ElementsWithoutRelationships
W
- webEnvironment() - Element in annotation interface org.springframework.modulith.test.ApplicationModuleTest
-
The type of web environment to create when applicable.
- WeekHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEvent
published if a week has passed. - WeekHasPassed(Year, int, Locale) - Constructor for class org.springframework.modulith.moments.WeekHasPassed
- When(BiFunction<TransactionOperations, ApplicationEventPublisher, T>, Consumer<T>, Function<ConditionFactory, ConditionFactory>) - Constructor for class org.springframework.modulith.test.Scenario.When
- withApiBase(String) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Configures a URI string to act as the base of the Javadoc accessible for the types contained in the canvas.
- withColorSelector(Function<ApplicationModule, Optional<String>>) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
A callback to return a hex-encoded color per
ApplicationModule
. - withComponentFilter(Predicate<Component>) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
A
Predicate
to define which StructurizrComponent
s to be included in the diagram to be created. - withDefaultDisplayName(Function<ApplicationModule, String>) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
A callback to return a default display names for a given
ApplicationModule
. - withDependencyDepth(DependencyDepth) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
The
DependencyDepth
to define which other modules to be included in the diagram to be created. - withDependencyTypes(DependencyType...) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
Select the dependency types that are supposed to be included in the diagram to be created.
- withElementsWithoutRelationships(Documenter.DiagramOptions.ElementsWithoutRelationships) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
Configuration setting to define whether modules that do not have a relationship to any other module shall be retained in the diagrams created.
- withExclusions(Predicate<ApplicationModule>) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
A
Predicate
to define the which modules to exclude from the diagram to be created. - withFallback(RoutingTarget) - Method in class org.springframework.modulith.events.RoutingTarget.ParsedRoutingTarget
- withGranularity(MomentsProperties.Granularity) - Method in class org.springframework.modulith.moments.support.MomentsProperties
- withinRootPackages(String) - Method in class org.springframework.modulith.core.ApplicationModules
-
Returns whether the given type is contained in one of the root packages (not including sub-packages) of the modules.
- withJavadocBase(ApplicationModules, String) - Static method in class org.springframework.modulith.docs.Asciidoctor
-
Creates a new
Asciidoctor
instance for the givenApplicationModules
and Javadoc base URI. - withKey(String) - Method in class org.springframework.modulith.events.RoutingTarget
-
Creates a new
RoutingTarget
with the same target but the given routing key. - withLocale(Locale) - Method in class org.springframework.modulith.moments.support.MomentsProperties
- withoutDefaultGroupings() - Static method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Creates a
Documenter.CanvasOptions
instance that does not register any default componentDocumenter.CanvasOptions.Grouping
s. - withoutJavadocBase(ApplicationModules) - Static method in class org.springframework.modulith.docs.Asciidoctor
-
Creates a new
Asciidoctor
instance for the givenApplicationModules
. - withoutKey() - Method in class org.springframework.modulith.events.RoutingTarget.RoutingTargetBuilder
-
Returns a new
RoutingTarget
without a key. - withoutModule(String) - Static method in class org.springframework.modulith.core.ApplicationModules.Filters
- withoutModules(String...) - Static method in class org.springframework.modulith.core.ApplicationModules.Filters
- withOutputFolder(String) - Method in class org.springframework.modulith.docs.Documenter
-
Deprecated, for removal: This API element is subject to removal in a future version.
- withStyle(Documenter.DiagramOptions.DiagramStyle) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
Which style to render the diagram in.
- withTarget(String) - Method in class org.springframework.modulith.events.RoutingTarget
- withTargetFileName(String) - Method in class org.springframework.modulith.docs.Documenter.CanvasOptions
-
Configures the target file name for the canvas to be written.
- withTargetFileName(String) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
The target file name to be used for the diagram to be created.
- withTargetOnly(Predicate<ApplicationModule>) - Method in class org.springframework.modulith.docs.Documenter.DiagramOptions
-
A
Predicate
to define which of the modules shall only be considered targets, i.e. - withType(DependencyType) - Method in class org.springframework.modulith.core.ApplicationModuleDependencies
- withZoneId(ZoneId) - Method in class org.springframework.modulith.moments.support.MomentsProperties
- writeDocumentation() - Method in class org.springframework.modulith.docs.Documenter
-
Writes all available documentation: The entire set of modules as overview component diagram. Individual component diagrams per module to include all upstream modules. The Module Canvas for each module. using
Documenter.DiagramOptions.defaults()
andDocumenter.CanvasOptions.defaults()
. - writeDocumentation(Documenter.DiagramOptions, Documenter.CanvasOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes all available documentation: The entire set of modules as overview component diagram. Individual component diagrams per module to include all upstream modules. The Module Canvas for each module.
- writeIndividualModulesAsPlantUml() - Method in class org.springframework.modulith.docs.Documenter
- writeIndividualModulesAsPlantUml(Documenter.DiagramOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes the component diagrams for all individual modules.
- writeModuleAsPlantUml(ApplicationModule) - Method in class org.springframework.modulith.docs.Documenter
-
Writes the PlantUML component diagram for the given
ApplicationModule
. - writeModuleAsPlantUml(ApplicationModule, Documenter.DiagramOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes the PlantUML component diagram for the given
ApplicationModule
with the given renderingDocumenter.DiagramOptions
. - writeModuleCanvases() - Method in class org.springframework.modulith.docs.Documenter
-
Writes all module canvases using
Documenter.DiagramOptions.defaults()
. - writeModuleCanvases(Documenter.CanvasOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes all module canvases using the given
Documenter.DiagramOptions
. - writeModulesAsPlantUml() - Method in class org.springframework.modulith.docs.Documenter
-
Writes the PlantUML component diagram for all
ApplicationModules
usingDocumenter.DiagramOptions.defaults()
. - writeModulesAsPlantUml(Documenter.DiagramOptions) - Method in class org.springframework.modulith.docs.Documenter
-
Writes the PlantUML component diagram for all
ApplicationModules
with the givenDocumenter.DiagramOptions
. - writeTableRow(String...) - Static method in class org.springframework.modulith.docs.Asciidoctor
Y
- YearHasPassed - Class in org.springframework.modulith.moments
-
A
DomainEvent
published on the last day of the year.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ApplicationModules.getSource()
instead