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 be5aa346e10 Merge remote-tracking branch 'origin/main' into v4
add 350f629d651 CAUSEWAY-3883: re-implements async invocation
new 7e719c707d9 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:
api/applib/src/main/java/module-info.java | 1 -
.../applib/services/wrapper/WrapperFactory.java | 138 +++-----
.../services/wrapper/callable/AsyncCallable.java | 114 ------
.../services/wrapper/control/AsyncControl.java | 158 +++------
.../services/wrapper/control/SyncControl.java | 76 ++--
.../wrapper/control/AsyncControl_Test.java | 12 +-
.../services/wrapper/control/SyncControl_Test.java | 12 +-
.../_testing/WrapperFactory_forTesting.java | 10 +-
.../runtime/wrap/WrapperInvocationHandler.java | 9 +-
.../causeway/core/runtime/wrap/WrappingObject.java | 4 +-
.../wrapper/AsyncExecutorService.java | 134 +++++++
.../wrapper/AsyncProxyInternal.java | 51 +++
.../wrapper/WrapperFactoryDefault.java | 387 ++-------------------
.../wrapper/handlers/CommandRecord.java} | 17 +-
.../wrapper/handlers/CommandRecordFactory.java | 52 +++
.../handlers/DomainObjectInvocationHandler.java | 80 +++--
.../wrapper/handlers/ProxyGenerator.java | 11 +-
.../wrapper/WrapperFactoryDefaultTest.java | 4 +-
.../ProxyCreatorTestUsingCodegenPlugin.java | 4 +-
.../applib/CausewayModuleExtCommandLogApplib.java | 4 +-
.../commandlog/applib/dom/BackgroundService.java | 189 +++-------
.../BackgroundService_IntegTestAbstract.java | 32 +-
.../integtest/CommandLog_IntegTestAbstract.java | 5 +-
.../applib/integtest/model/CounterRepository.java | 6 +-
.../jpa/publishing/PublishingTestFactoryJpa.java | 47 +--
.../integtests/WrapperFactory_async_IntegTest.java | 24 +-
.../testdomain/interact/CommandArgumentTest.java | 14 +-
.../WrapperInteraction_Caching_IntegTest.java | 20 +-
28 files changed, 622 insertions(+), 993 deletions(-)
delete mode 100644
api/applib/src/main/java/org/apache/causeway/applib/services/wrapper/callable/AsyncCallable.java
create mode 100644
core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/wrapper/AsyncExecutorService.java
create mode 100644
core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/wrapper/AsyncProxyInternal.java
copy
core/{security/src/test/java/org/apache/causeway/security/authentication/standard/SimpleSessionEncodabilityNoRolesTest.java
=>
runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/wrapper/handlers/CommandRecord.java}
(73%)
create mode 100644
core/runtimeservices/src/main/java/org/apache/causeway/core/runtimeservices/wrapper/handlers/CommandRecordFactory.java