Package org.springframework.modulith
Annotation Interface NamedInterface
Annotation to mark a package as named interface of a
ApplicationModule
or assign a type to a named interface.- Author:
- Oliver Drotbohm
-
Optional Element Summary
-
Element Details
-
value
The name(s) of the named interface. If declared on a package, the package's local name will be used as default name. Declaring multiple values here is useful in case named interfaces are defined based on types and a particular type is supposed to be part of multiple named interfaces.- Returns:
- will never be null.
- Default:
- {}
-
name
The name(s) of the named interface. If declared on a package, the package's local name will be used as default name. Declaring multiple values here is useful in case named interfaces are defined based on types and a particular type is supposed to be part of multiple named interfaces.- Returns:
- will never be null.
- Default:
- {}
-