ModuleOption
related classes.See: Description
Interface | Description |
---|---|
ModuleOptionsMetadata |
Encapsulates metadata about the accepted options for a module.
|
ModuleOptionsMetadataResolver |
Implementations are able to derive
ModuleOptionsMetadata for a given module. |
Class | Description |
---|---|
DefaultModuleOptionsMetadataCollector |
A (fake) PlaceholderConfigurer that will collect the placeholders it encounters and derive a
ModuleOption out
of them. |
DefaultModuleOptionsMetadataResolver |
The default implementation of
ModuleOptionsMetadataResolver that deals with simple modules and reads the
companion .properties file sitting next to the module definition. |
DelegatingModuleOptionsMetadataResolver |
A
ModuleOptionsMetadataResolver that will invoke several other ModuleOptionsMetadataResolver
instances in turn and merge their results (flattening them). |
EnvironmentAwareModuleOptionsMetadataResolver |
A decorator around another
ModuleOptionsMetadataResolver that will provide default values for module options
using the environment. |
FlattenedCompositeModuleOptionsMetadata |
A composite
ModuleOptionsMetadata made of several ModuleOptionsMetadata that will appear "flattened". |
HierarchicalCompositeModuleOptionsMetadata |
A composite
ModuleOptionsMetadata made of several ModuleOptionsMetadata , each assigned to a name,
that will appear in a hierarchy. |
ModuleOption |
Provides information about an option that a user can set to customize the behavior of a module.
|
ModuleOptions |
Represents runtime information about a module once user provided values are known.
|
ModuleUtils |
Contains utility methods for accessing a module's properties and dealing with ClassLoaders.
|
PassthruModuleOptionsMetadata |
Implementation of
ModuleOptionsMetadata used when no explicit information about a module has been authored. |
PojoModuleOptionsMetadata |
An implementation of
ModuleOptionsMetadata that derives its information from a plain old java object:
public setters are reported as valid options
the type of the option is derived from the accepted type by the setter
ModuleOptions for such a POJO will work as follows:
an instance of the class will be created reflectively and injected with user provided values,
reported properties are computed from all the getters,
the POJO may bear JSR303 validation annotations, which will be used to validate the interpolated options,
if the POJO implements ProfileNamesProvider , profile names will be gathered from a reflective call to
ProfileNamesProvider.profilesToActivate()
|
PrefixNarrowingModuleOptions |
A decorator on another instance of
ModuleOptions (in practice, one representing options to a composed module)
that will filter and remap property values exposed through its property source. |
SimpleModuleOptionsMetadata |
An implementation of
ModuleOptionsMetadata that only knows how to list options and does not support advanced
facilities such as derived options, profile activation or validation. |
ModuleOption
related classes.