Skip to content

Commit cfabf40

Browse files
committed
chore: include domain layer
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
1 parent ab68d8c commit cfabf40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

solutions/04-ecommerce/src/main/java/com/example/ecommerce/annotations/DomainService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
import jakarta.enterprise.context.ApplicationScoped;
44
import jakarta.enterprise.inject.Stereotype;
5+
import org.jmolecules.architecture.layered.DomainLayer;
6+
57
import java.lang.annotation.ElementType;
68
import java.lang.annotation.Inherited;
79
import java.lang.annotation.Retention;
@@ -26,5 +28,6 @@
2628
@Retention(RUNTIME)
2729
@Target(ElementType.TYPE)
2830
@org.jmolecules.ddd.annotation.Service
31+
@DomainLayer
2932
public @interface DomainService {
3033
}

0 commit comments

Comments
 (0)