@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Component @Repeatable(value=Chains.class) public @interface Chain
Chains annotation.
Remember that the sequence field is also mandatory and DO NOT use same order between modules in same
factory classChains| Modifier and Type | Required Element and Description |
|---|---|
Class<?> |
factory
indicates modules by which specific chain class are used.
|
| Modifier and Type | Optional Element and Description |
|---|---|
int |
sequence
indicates modules under which position are used
|
public abstract Class<?> factory
Copyright © 2022. All rights reserved.