Package org.seedstack.business
Annotation Type Overriding
-
@Documented @Retention(RUNTIME) @Target({TYPE,ANNOTATION_TYPE}) public @interface Overriding
Using this annotation on an implementation class will make it override an existing similar implementation. Every relevant injection point or dynamic retrieval throughDomainRegistrywill be provided with the overriding implementation instead of the original one.