Annotation Interface InheritedComponent


@Target(TYPE) @Retention(RUNTIME) @Documented @Component @Inherited public @interface InheritedComponent
Marks an extension point whose implementations should be discovered as Spring components. Example: If abstract class SolutionSerializer is annotated with @InheritedComponent, all implementations will inherit the annotation, and therefore be detected at runtime as candidates for dependency injection. Autoconfig extension points such as factories and parameter providers use this annotation.