|
22 | 22 | import java.lang.annotation.Target;
|
23 | 23 |
|
24 | 24 | /**
|
25 |
| - * Identifies the {@link DomainRing} in an onion architecture. The domain ring is the inner-most ring in the |
26 |
| - * onion architecture and is only coupled to itself. It models the truth of the business domain by consisting of |
27 |
| - * behaviour (logic) and the required state (data). |
28 |
| - * |
29 |
| - * Compared to the 4-ring onion architecture in which the domain is split into domain model and domain services, the |
30 |
| - * 3-ring version combines those 2 rings so that it implements behavior (logic), state (data), and interfaces needed for |
31 |
| - * e.g. storing and retrieving data, i.e. repository interfaces. |
| 25 | + * Identifies the {@link DomainRing} in an onion architecture. The domain ring is the inner-most ring in the onion |
| 26 | + * architecture and is only coupled to itself. It models the truth of the business domain by consisting of behaviour |
| 27 | + * (logic) and the required state (data). Compared to the 4-ring onion architecture in which the domain is split into |
| 28 | + * domain model and domain services, the 3-ring version combines those 2 rings so that it implements behavior (logic), |
| 29 | + * state (data), and interfaces needed for e.g. storing and retrieving data, i.e. repository interfaces. |
32 | 30 | *
|
33 | 31 | * @author Christian Stettler
|
34 | 32 | * @author Henning Schwentner
|
35 | 33 | * @author Stephan Pirnbaum
|
36 | 34 | * @author Martin Schimak
|
37 | 35 | * @author Oliver Drotbohm
|
38 | 36 | * @see <a href="https://jeffreypalermo.com/2008/07/the-onion-architecture-part-1/">The Onion Architecture : part 1
|
39 |
| - * (Palermo)</a> |
| 37 | + * (Palermo)</a> |
40 | 38 | */
|
41 |
| -@Retention(RetentionPolicy.CLASS) |
| 39 | +@Retention(RetentionPolicy.RUNTIME) |
42 | 40 | @Target({ ElementType.PACKAGE, ElementType.TYPE })
|
43 | 41 | @Documented
|
44 |
| -public @interface DomainRing { |
45 |
| -} |
| 42 | +public @interface DomainRing {} |
0 commit comments