public class ConfigurationScopeAwareProvider extends Object implements org.axonframework.messaging.ScopeAwareProvider
ScopeAwareProvider which will retrieve a List of ScopeAware components
in a lazy manner. It does this by pulling these components from the provided Configuration as soon as
provideScopeAwareStream(ScopeDescriptor) is called.| Constructor and Description |
|---|
ConfigurationScopeAwareProvider(Configuration configuration)
Instantiate a lazy
ScopeAwareProvider with the given configuration parameter. |
| Modifier and Type | Method and Description |
|---|---|
Stream<org.axonframework.messaging.ScopeAware> |
provideScopeAwareStream(org.axonframework.messaging.ScopeDescriptor scopeDescriptor) |
public ConfigurationScopeAwareProvider(Configuration configuration)
ScopeAwareProvider with the given configuration parameter.configuration - a Configuration used to retrieve ScopeAware components fromIllegalArgumentException - when configuration is nullpublic Stream<org.axonframework.messaging.ScopeAware> provideScopeAwareStream(org.axonframework.messaging.ScopeDescriptor scopeDescriptor)
provideScopeAwareStream in interface org.axonframework.messaging.ScopeAwareProviderCopyright © 2010–2024. All rights reserved.