Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2158 refining TransactionService (API)

- executeWithinTransaction(task) now reuses any existing tx boundary

- executeWithinNewTransaction(task) forces creation of a new tx boundary

JDO does not support transaction nesting, so we reuse tx boundaries by

default. This should allow for better tx rollback support.

  1. … 12 more files in changeset.
batch update source format:

- Add missing '@Override' annotations

- Correct indentation

- Add file header (JAutodoc)

  1. … 1065 more files in changeset.
ISIS-2125 remove the CountDownLatch from Isis' Transaction API

- instead let the IsisTransactionAspectSupport allow for task

synchronization on transactions

- fixes the basic BackgroundService smoke-test

- however, action-domain-events are not yet triggered when invoking via

BackgroundService

  1. … 20 more files in changeset.
ISIS-2125 major (breaking) commit: new transaction paradigma

- opening an isis session does no longer open a transactional context

  1. … 60 more files in changeset.
ISIS-2125 batch-update license headers for *.java files

  1. … 332 more files in changeset.
ISIS-2125 marks TransactionService.nextTransaction* deprecated

- removes references to TransactionService.nextTransaction* from the

Fixtures Extension

  1. … 5 more files in changeset.
ISIS-2125: replaces the TransactionServiceDefault with a new TransactionServiceSpring that utilizes sprint-tx API

- however, the nextTransaction() call is still delegated to the old

service, unfortunately this concept is not present in Spring's tx API

- remove the transaction latch from ps-internal

- deal with the fact that IsisSession.close(), as handled by Spring when

processing @PreDestroy, runs on a different thread than that, that

opened the session.

Task-Url: https://issues.apache.org/jira/browse/ISIS-2125

  1. … 19 more files in changeset.
ISIS-2125: refining some internal and public API

Task-Url: https://issues.apache.org/jira/browse/ISIS-2125

    • -0
    • +21
    ./TransactionId.java
  1. … 4 more files in changeset.
ISIS-2112: prepare for deprecation of Isis Transaction API

- intent is to instead hide current Isis Transaction Implementation

behind spring-tx

- also refactors Auditer- and PublisherService tests to demo API changes

Task-Url: https://issues.apache.org/jira/browse/ISIS-2112

  1. … 32 more files in changeset.
ISIS-2112: backporting from '2033-IoC_Spring' branch

Task-Url: https://issues.apache.org/jira/browse/ISIS-2112

  1. … 1098 more files in changeset.
ISIS-2033: minor changes left over from failed refactoring attempt

Task-Url: https://issues.apache.org/jira/browse/ISIS-2033

  1. … 9 more files in changeset.
ISIS-2033: PersistenceServiceInternal* removed

Task-Url: https://issues.apache.org/jira/browse/ISIS-2033

  1. … 38 more files in changeset.
ISIS-2033: renaming IsisSession#adapterFor(domainObject)

-> adapterForPojo

Task-Url: https://issues.apache.org/jira/browse/ISIS-2033

  1. … 8 more files in changeset.
ISIS-1976: cleanup 'Command' API

make it obvious which calls are non public API by gathering them in its

own 'Internal' interface

rename HasTransactionId -> HasUniqueId to better reflect its general

usage

Task-Url: https://issues.apache.org/jira/browse/ISIS-1976

  1. … 36 more files in changeset.
ISIS-1841 automated source cleanup

Add missing '@Override' annotations

Remove trailing white spaces on all lines

Correct indentation

  1. … 1410 more files in changeset.
ISIS-1960: moving TransactionServiceDefault 'metamodel' -> 'runtime'

also cleaning up 'Transaction' interface

Task-Url: https://issues.apache.org/jira/browse/ISIS-1960

  1. … 3 more files in changeset.
ISIS-1960: Action background execution built-in default:

wait for current thread's transaction to complete before executing

background tasks

Task-Url: https://issues.apache.org/jira/browse/ISIS-1960

  1. … 9 more files in changeset.
Merge branch 'maint-1.16.1' into master

# Conflicts:

# adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-Action.adoc

# adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-DomainObject_objectType.adoc

# adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-Parameter.adoc

# adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-ViewModel_objectType.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-api_BulkInteractionContext.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-spi_CommandService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_metadata-api_MetamodelService.adoc

# adocs/documentation/src/main/asciidoc/guides/ugfun/_ugfun_programming-model_actions.adoc

# adocs/documentation/src/main/asciidoc/guides/ugfun/_ugfun_ui-hints_eager-rendering.adoc

# adocs/documentation/src/main/asciidoc/guides/ugvw/_ugvw_layout_file-based.adoc

# adocs/documentation/src/main/asciidoc/pages/tg/_tg_pet-clinic.adoc

# adocs/documentation/src/main/asciidoc/pages/tg/_tg_stop-scaffolding-start-coding.adoc

# core/applib/src/main/java/org/apache/isis/applib/annotation/Action.java

# core/applib/src/main/java/org/apache/isis/applib/annotation/Bulk.java

# core/applib/src/main/java/org/apache/isis/applib/annotation/Command.java

# core/applib/src/main/java/org/apache/isis/applib/annotation/CommandExecuteIn.java

# core/applib/src/main/java/org/apache/isis/applib/annotation/InvokeOn.java

# core/applib/src/main/java/org/apache/isis/applib/services/actinvoc/ActionInvocationContext.java

# core/applib/src/main/java/org/apache/isis/applib/services/command/Command.java

# core/applib/src/main/java/org/apache/isis/applib/services/xactn/TransactionService3.java

# core/applib/src/main/java/org/apache/isis/schema/utils/CommonDtoUtils.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/action/ActionAnnotationFacetFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/action/command/CommandFacetForActionAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/action/command/CommandFacetForCommandAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/action/command/CommandFacetFromConfiguration.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/actions/command/CommandFacetAbstract.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/objectvalue/mustsatisfyspec/MustSatisfySpecificationFacetAbstract.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/param/parameter/mustsatisfy/MustSatisfySpecificationFacetForMustSatisfyAnnotationOnParameter.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/param/parameter/mustsatisfy/MustSatisfySpecificationFacetForParameterAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/PropertyAnnotationFacetFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/command/CommandFacetForPropertyAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/mustsatisfy/MustSatisfySpecificationFacetForMustSatisfyAnnotationOnProperty.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/properties/property/mustsatisfy/MustSatisfySpecificationFacetForPropertyAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/metamodel/MetaModelServiceDefault.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/persistsession/PersistenceSessionServiceInternal.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/persistsession/PersistenceSessionServiceInternalNoop.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/xactn/TransactionServiceDefault.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/spec/ObjectSpecification.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/spec/feature/ObjectAction.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/SpecificationLoader.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/facetprocessor/FacetProcessor.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/FacetedMethodsBuilder.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/dflt/ObjectSpecificationDefault.java

# core/metamodel/src/main/java/org/apache/isis/progmodels/dflt/JavaReflectorHelper.java

# core/metamodel/src/test/java/org/apache/isis/core/metamodel/specloader/SpecificationLoaderTestAbstract.java

# core/runtime/src/main/java/org/apache/isis/core/runtime/fixturedomainservice/ObjectFixtureFilePersistor.java

# core/runtime/src/main/java/org/apache/isis/core/runtime/fixturedomainservice/ObjectFixtureService.java

# core/runtime/src/main/java/org/apache/isis/core/runtime/services/background/BackgroundCommandExecution.java

# core/runtime/src/main/java/org/apache/isis/core/runtime/services/persistsession/PersistenceSessionServiceInternalDefault.java

# core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSessionFactoryMetamodelRefiner.java

# core/viewer-wicket-impl/src/main/java/org/apache/isis/viewer/wicket/viewer/registries/components/ComponentFactoryRegistrarDefault.java

# core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/collection/bulk/BulkActionsHelper.java

  1. … 111 more files in changeset.
ISIS-1569: ensures that transaction CommandExecutorService is run in a xactn with the command to be executed as the context of that xactn.

To support this, extends TransactionService3 API.

  1. … 6 more files in changeset.
Merge branch 'master' into dev/2.0.0/ISIS-1632-meta-annotations

# Conflicts:

# adocs/documentation/src/main/asciidoc/guides/rgcfg/_rgcfg_configuring-core.adoc

# adocs/documentation/src/main/asciidoc/guides/rgcms/_rgcms_schema-aim.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-api_ActionInvocationContext.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-api_BackgroundService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-api_CommandContext.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-api_InteractionContext.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-api_MessageService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-api_TitleService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-api_TransactionService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-api_WrapperFactory.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-spi_BackgroundCommandService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-spi_CommandService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_application-layer-spi_HomePageProviderService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_bootstrapping-spi_ClassDiscoveryService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_core-domain-api_ClockService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_core-domain-api_ConfigurationService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_core-domain-api_DomainObjectContainer.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_core-domain-api_EventBusService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_core-domain-api_FactoryService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_core-domain-api_Scratchpad.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_core-domain-api_UserService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_integration-api_BookmarkService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_integration-api_EmailService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_integration-api_JaxbService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_integration-api_MementoService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_integration-api_XmlSnapshotService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_metadata-api_ApplicationFeatureRepository.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_metadata-api_MetamodelService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_metadata-api_ServiceRegistry.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_persistence-layer-api_IsisJdoSupport.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_persistence-layer-api_MetricsService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_persistence-layer-api_QueryResultsCache.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_persistence-layer-api_RepositoryService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_persistence-layer-spi_AuditerService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_persistence-layer-spi_AuditingService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_persistence-layer-spi_EventSerializer.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_persistence-layer-spi_PublisherService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_persistence-layer-spi_PublishingService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_persistence-layer-spi_UserRegistrationService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-api_AcceptHeaderService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-api_DeepLinkService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-spi_EmailNotificationService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-spi_ErrorReportingService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-spi_ExceptionRecognizer.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-spi_GridLoaderService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-spi_GridSystemService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-spi_HintStore.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-spi_LocaleProvider.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-spi_TranslationService.adoc

# adocs/documentation/src/main/asciidoc/guides/rgsvc/_rgsvc_presentation-layer-spi_TranslationsResolver.adoc

# adocs/documentation/src/main/asciidoc/guides/ugodn/_ugodn_configuring_properties.adoc

# adocs/documentation/src/main/asciidoc/guides/ugtst/_ugtst_integ-test-support_abstract-class.adoc

# adocs/documentation/src/main/asciidoc/guides/ugvw/_ugvw_extending_replacing-page-elements.adoc

# core/applib/src/main/java/org/apache/isis/applib/fixturescripts/FixtureScript.java

# core/applib/src/main/java/org/apache/isis/applib/fixturescripts/FixtureScripts.java

# core/mavendeps/intellij/pom.xml

# core/mavendeps/testing/pom.xml

# core/mavendeps/webapp/pom.xml

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/collections/layout/CollectionLayoutFacetFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/collections/layout/DefaultViewFacetForCollectionLayoutAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/domainobject/DomainObjectAnnotationFacetFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/domainobject/recreatable/RecreatableObjectFacetForDomainObjectAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/domainobjectlayout/CssClassFacetForDomainObjectLayoutAnnotation.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/object/domainservicelayout/DomainServiceLayoutFacetFactory.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/metamodel/MetaModelServiceDefault.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/persistsession/PersistenceSessionServiceInternal.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/persistsession/PersistenceSessionServiceInternalNoop.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/spec/feature/ObjectMember.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/SpecificationLoader.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/FacetedMethodsBuilder.java

# core/metamodel/src/main/java/org/apache/isis/core/metamodel/specloader/specimpl/FacetedMethodsBuilderContext.java

# core/metamodel/src/test/java/org/apache/isis/core/metamodel/facets/object/domainobject/DomainObjectAnnotationFacetFactoryTest.java

# core/runtime/src/main/java/org/apache/isis/core/runtime/services/persistsession/PersistenceSessionServiceInternalDefault.java

# core/runtime/src/main/java/org/apache/isis/core/runtime/systemusinginstallers/IsisComponentProvider.java

# core/specsupport/src/main/java/org/apache/isis/core/specsupport/scenarios/DomainServiceProvider.java

# example/application/simpleapp/pom.xml

  1. … 115 more files in changeset.
ISIS-1799: adds TransactionService3#nextTransaction(Policy) overload, and uses from integration tests (HeadlessWithBootstrappingAbstract)

    • -0
    • +74
    ./TransactionService3.java
  1. … 9 more files in changeset.
ISIS-1685: adds missing package-info.java for applib

  1. … 78 more files in changeset.
ISIS-1468: extends TransactionService, adding in getTransactionState

This promotes TransactionState to the applib, and removes the internal TransactionStateProividerInternalXxx domain services; moved to TransacionServiceDefault simply delegate to the PersistenceSessionServiceInternal for the underlying implementation.

Also updated docs.

    • -0
    • +29
    ./TransactionService2.java
    • -0
    • +94
    ./TransactionState.java
  1. … 20 more files in changeset.
ISIS-1476: Transaction interface: Expose "clearAbortCause" for don't pick up handled persistence Exceptions

  1. … 1 more file in changeset.
ISIS-1476: Transaction interface: Expose "clearAbortCause" for don't pick up handled persistence Exceptions

  1. … 1 more file in changeset.
ISIS-1430: replace AuditingService with AuditerService.

  1. … 30 more files in changeset.
ISIS-1228: breaking out new domain services from DomainObjectContainer.

    • -0
    • +42
    ./TransactionService.java
  1. … 43 more files in changeset.