Annotation Interface ComponentParam
Specifies additional restrictions when resolving a constructor parameter whose type is another algorithm component.
Use this annotation when the default recursive resolution must exclude one or more implementations.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<?>[]Disallowed classes for recursive components.
-
Element Details
-
disallowed
Class<?>[] disallowedDisallowed classes for recursive components. All derived classes from the disallowed list will be disallowed too. Each disallowed class must be assignable to the annotated parameter type.- Returns:
- disallowed classes
- Default:
{}
-