Annotation Interface Feature


@Documented @Target(TYPE) @Retention(CLASS) public @interface Feature

The main building block of Meld, represents a functionality or group thereof (module).

Features consist of:

  • Provisions, the components that implement the functionality
  • Configuration Parameters
  • ExtensionPoints, that allow other features configure this feature further
  • Setup methods (which often contribute to ExtensionPoints)

Many features are split into a feature interface that only declares a set of provisions and one or more implementation(s) of that feature interface.

Features are put together to a Configuration.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    Mark an interface as dependency (as opposed to the feature implementing it).
    static @interface 
    Mark a superclass or implemented interface as imported into the feature.
    static @interface 
    Mount a feature into a configuration.