You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2023/03/16 06:22:14 UTC

[causeway] 01/01: CAUSEWAY-3381: changes @Scope to 'causeway-domain-object' for @DomainObject

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch CAUSEWAY-3381
in repository https://gitbox.apache.org/repos/asf/causeway.git

commit 91920eefbeb53fc7eee32975d8a3eeac982a6a45
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Mar 16 06:22:04 2023 +0000

    CAUSEWAY-3381: changes @Scope to 'causeway-domain-object' for @DomainObject
---
 .../main/java/org/apache/causeway/applib/annotation/DomainObject.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/applib/src/main/java/org/apache/causeway/applib/annotation/DomainObject.java b/api/applib/src/main/java/org/apache/causeway/applib/annotation/DomainObject.java
index 567cfe5bcc..03372d3d31 100644
--- a/api/applib/src/main/java/org/apache/causeway/applib/annotation/DomainObject.java
+++ b/api/applib/src/main/java/org/apache/causeway/applib/annotation/DomainObject.java
@@ -68,7 +68,7 @@ import org.apache.causeway.applib.services.bookmark.Bookmark;
         ElementType.ANNOTATION_TYPE
 })
 @Retention(RetentionPolicy.RUNTIME)
-@Component @Scope("prototype")
+@Component @Scope("causeway-domain-object")
 public @interface DomainObject {
 
     /**