You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2025/06/16 08:10:22 UTC
(causeway) branch v4 updated (ef777d41c50 -> c8a6a952e59)
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a change to branch v4
in repository https://gitbox.apache.org/repos/asf/causeway.git
from ef777d41c50 Merge pull request #2976 from apache/dependabot/maven/v4/org.hibernate.validator-hibernate-validator-9.0.1.Final
add 6faf9bd5174 Bump io.swagger.core.v3:swagger-core from 2.2.32 to 2.2.33
add bebfe542ae1 Merge pull request #2979 from apache/dependabot/maven/main/io.swagger.core.v3-swagger-core-2.2.33
add 01423cdbc9e Bump org.owasp:dependency-check-maven from 12.1.2 to 12.1.3
add 30ad69ef64a Merge pull request #2980 from apache/dependabot/maven/main/org.owasp-dependency-check-maven-12.1.3
add 6c15dc14f6c CAUSEWAY-3883: removes DelegatingInvocationHandlerAbstract (refactor)
new c8a6a952e59 Merge remote-tracking branch 'origin/main' into v4
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
core/runtime/src/main/java/module-info.java | 1 +
.../runtime/wrap/WrapperInvocationHandler.java | 90 +++++++++++++++++
.../handlers/DelegatingInvocationHandler.java | 33 -------
.../DelegatingInvocationHandlerAbstract.java | 109 ---------------------
.../handlers/DomainObjectInvocationHandler.java | 68 ++++++-------
.../handlers/PluralInvocationHandlerAbstract.java | 28 +++---
.../wrapper/handlers/ProxyGenerator.java | 9 +-
.../ProxyCreatorTestUsingCodegenPlugin.java | 18 ++--
8 files changed, 154 insertions(+), 202 deletions(-)
create mode 100644 core/runtime/src/main/java/org/apache/causeway/core/runtime/wrap/WrapperInvocationHandler.java
delete mode 100644 core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/wrapper/handlers/DelegatingInvocationHandler.java
delete mode 100644 core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/wrapper/handlers/DelegatingInvocationHandlerAbstract.java
(causeway) 01/01: Merge remote-tracking branch 'origin/main' into v4
Posted by ah...@apache.org.
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 c8a6a952e59cbd44352d108f2124a126a6b0de9f
Merge: ef777d41c50 6c15dc14f6c
Author: andi-huber <ah...@apache.org>
AuthorDate: Mon Jun 16 10:10:17 2025 +0200
Merge remote-tracking branch 'origin/main' into v4
core/runtime/src/main/java/module-info.java | 1 +
.../runtime/wrap/WrapperInvocationHandler.java | 90 +++++++++++++++++
.../handlers/DelegatingInvocationHandler.java | 33 -------
.../DelegatingInvocationHandlerAbstract.java | 109 ---------------------
.../handlers/DomainObjectInvocationHandler.java | 68 ++++++-------
.../handlers/PluralInvocationHandlerAbstract.java | 28 +++---
.../wrapper/handlers/ProxyGenerator.java | 9 +-
.../ProxyCreatorTestUsingCodegenPlugin.java | 18 ++--
8 files changed, 154 insertions(+), 202 deletions(-)
diff --cc core/runtime/src/main/java/module-info.java
index c8f038c0cc4,0e8fd44e818..e08b546cdf5
--- a/core/runtime/src/main/java/module-info.java
+++ b/core/runtime/src/main/java/module-info.java
@@@ -20,9 -20,8 +20,10 @@@ module org.apache.causeway.core.runtim
exports org.apache.causeway.core.runtime;
exports org.apache.causeway.core.runtime.flushmgmt;
exports org.apache.causeway.core.runtime.events;
+ exports org.apache.causeway.core.runtime.wrap;
+ requires static lombok;
+
requires jakarta.annotation;
requires java.desktop;
requires jakarta.inject;
diff --cc core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/wrapper/handlers/DomainObjectInvocationHandler.java
index b08178061b0,93286ad3987..8f098561cbc
--- 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
@@@ -66,20 -66,26 +66,27 @@@ import org.apache.causeway.core.metamod
import org.apache.causeway.core.metamodel.spec.feature.OneToManyAssociation;
import org.apache.causeway.core.metamodel.spec.feature.OneToOneAssociation;
import org.apache.causeway.core.metamodel.util.Facets;
+ import org.apache.causeway.core.runtime.wrap.WrapperInvocationHandler;
+ import lombok.Getter;
import lombok.SneakyThrows;
++
+import lombok.extern.slf4j.Slf4j;
+ import lombok.experimental.Accessors;
-import lombok.extern.log4j.Log4j2;
/**
*
* @param <T> type of delegate
*/
-@Log4j2
+@Slf4j
public class DomainObjectInvocationHandler<T>
- extends DelegatingInvocationHandlerAbstract<T> {
+ implements WrapperInvocationHandler {
+ @Getter(onMethod_ = {@Override}) @Accessors(fluent=true)
+ private final WrapperInvocationHandler.Context context;
+
private final ProxyGenerator proxyGenerator;
- private final MetaModelContext mmContext;
+ private final MetaModelContext mmc;
/**
* The <tt>title()</tt> method; may be <tt>null</tt>.