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

ahuber pushed a commit to branch v4
in repository https://gitbox.apache.org/repos/asf/causeway.git

commit a4266e60024b4fa0593755a3d1cf486b7481896b
Merge: af475ed72ab f5ff1a4a207
Author: Andi Huber <[email protected]>
AuthorDate: Mon Jun 16 20:23:34 2025 +0200

    Merge remote-tracking branch 'origin/main' into v4

 .../runtimeservices/src/main/java/module-info.java |  2 +-
 .../handlers/CollectionInvocationHandler.java      | 45 -------------
 .../handlers/DomainObjectInvocationHandler.java    | 47 ++++++-------
 .../wrapper/handlers/MapInvocationHandler.java     | 44 -------------
 ...rAbstract.java => PluralInvocationHandler.java} | 77 ++++++++++++++--------
 .../wrapper/handlers/ProxyGenerator.java           | 20 +++---
 6 files changed, 79 insertions(+), 156 deletions(-)

diff --cc 
core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/wrapper/handlers/DomainObjectInvocationHandler.java
index 8f098561cbc,3330f3b1aec..dd3139f588e
--- 
a/core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/wrapper/handlers/DomainObjectInvocationHandler.java
+++ 
b/core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/wrapper/handlers/DomainObjectInvocationHandler.java
@@@ -78,13 -76,13 +77,13 @@@ import lombok.experimental.Accessors
   *
   * @param <T> type of delegate
   */
 -@Log4j2
 +@Slf4j
- public class DomainObjectInvocationHandler<T>
+ public final class DomainObjectInvocationHandler<T>
  implements WrapperInvocationHandler {
  
--    @Getter(onMethod_ = {@Override}) @Accessors(fluent=true) 
++    @Getter(onMethod_ = {@Override}) @Accessors(fluent=true)
      private final WrapperInvocationHandler.Context context;
--    
++
      private final ProxyGenerator proxyGenerator;
      private final MetaModelContext mmc;
  
@@@ -117,7 -115,7 +116,7 @@@
              final ManagedObject targetAdapter,
              final SyncControl syncControl,
              final ProxyGenerator proxyGenerator) {
--        
++
          this.mmc = targetAdapter.objSpec().getMetaModelContext();
          this.context = WrapperInvocationHandler.Context.of(
                  mmc,
@@@ -130,10 -129,12 +130,12 @@@
          } catch (final NoSuchMethodException e) {
              // ignore
          }
+         this.titleMethod = _titleMethod;
 -        
++
          try {
-             __causeway_saveMethod = 
WrappingObject.class.getMethod("__causeway_save", _Constants.emptyClasses);
-             __causeway_wrappedMethod = 
WrappingObject.class.getMethod("__causeway_wrapped", _Constants.emptyClasses);
-             __causeway_executionModes = 
WrappingObject.class.getMethod("__causeway_executionModes", 
_Constants.emptyClasses);
+             this.__causeway_saveMethod = 
WrappingObject.class.getMethod("__causeway_save", _Constants.emptyClasses);
+             this.__causeway_wrappedMethod = 
WrappingObject.class.getMethod("__causeway_wrapped", _Constants.emptyClasses);
+             this.__causeway_executionModes = 
WrappingObject.class.getMethod("__causeway_executionModes", 
_Constants.emptyClasses);
  
          } catch (final NoSuchMethodException nsme) {
              throw new IllegalStateException(

Reply via email to