Clone Tools
  • last updated 17 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-1390: minor refactorings (inlining of methods), now easy to track usage of the CommandService

  1. … 1 more file in changeset.
ISIS-1390: default CommandServiceDefault. Also simplifying the relationship between IsisTransaction and Command, and how the Command object is initialized.

Also:

... deprecating CommandService#startTransaction(...), make it the responsibility of IsisTransactionManager to populate the transactionId of the Command in all cases.

... simplifying logic in IsisTransaction; the Command is only just created, so will never have a transactionId to reuse. The design is now simply for the IsisTransactionManager to create a new UUID and set on both the Command and also pass into IsisTransaction.

... extend IsisTranscationManager's executeWithTransaction to allow an existing Command to be passed in; leverage this from BackgroundCommandExecution.

Also:

... use ClockService to obtain the time, rather than Clock singleton (for Command#setTimestamp, also Command#setStartedAt,

... make lookup of mandatory services fail-fast if not present (PropertySetterFacet, ActionInvocationFacet, IsisTransactionManager, IsisTransaction)

... minor alterations to visibility of DomainObjectJdoAbstract properties in tables.

    • -113
    • +89
    ./IsisTransactionManager.java
  1. … 9 more files in changeset.
ISIS-1389: new InteractionContext and Interaction APIs; updated javadoc and deprecated corresponding methods in Command.

  1. … 6 more files in changeset.
ISIS-1291: using wormhole pattern so that bulk actions are persisted as list of adapters on command memento. Note sure I like this, though...

    • -2
    • +7
    ./TransactionalClosureWithReturnAbstract.java
  1. … 3 more files in changeset.
ISIS-1344: reinstating the TransactionClosureXxxAbstract adapter classes ... otherwise these break isis addons security module, for example.

    • -0
    • +25
    ./TransactionalClosureAbstract.java
    • -0
    • +25
    ./TransactionalClosureWithReturnAbstract.java
ISIS-1344: deleting some unused exception classes and deprecated adapter classes, part of runtime/system/transaction

    • -43
    • +0
    ./IsisTransactionManagerCommitException.java
    • -43
    • +0
    ./IsisTransactionManagerDomCallbackException.java
    • -43
    • +0
    ./IsisTransactionManagerResourceCommitException.java
    • -30
    • +0
    ./TransactionalClosureAbstract.java
    • -30
    • +0
    ./TransactionalClosureWithReturnAbstract.java
ISIS-1344: removing the WrapTransaction facets, and from that also the entire FacetDecorator infrastructure since is no longer required.

  1. … 35 more files in changeset.
ISIS-1291: partially reverting the introduction of a SequenceName... no need after all to add to EventMetadata, because there is only one reason for subactions to occur. Also moved the SequenceName enum out from EventMetadata and into Command interface.

  1. … 4 more files in changeset.
ISIS-1291: introduce enum for sequenceName (for newEventMetadata); minor moving around of methods/extract methods refactoring of newEventMetadata within IsisTransaction.

  1. … 2 more files in changeset.
ISIS-1372: factor out newEventMetadata helper in IsisTransaction.

ISIS-1368: added new PublishingService2 API. Also updated documentation.

  1. … 4 more files in changeset.
ISIS-1318: deleting commented out code in IsisTransaction

ISIS-1318: flush any pending actions to be published as the result of doing a wrapped action via the WrapperFactory.

  1. … 2 more files in changeset.
ISIS-1318: further fix to allow publishing of wrapped actions

previously was using the action identifier obtained from the command, however the command only ever holds the details of the outermost action.

  1. … 3 more files in changeset.
ISIS-1222: inject services into Command objects once created by CommandService

ISIS-830: suppress the postEvent for Command object (special case, otherwise catch-22 situation).

  1. … 4 more files in changeset.
ISIS-830: introduced new ObjectXxxEvent into applib, also AbstractLifecycleEvent superclass, updated PersistenceSession to call these events.

also:

- fixed toString for AbstractDomainEvent

- factored out internal interfaces for the interactions between:

- PersistenceSession and IsisLifecycleListener2

- PersistenceSession and IsisTransactionManager

- PersistenceSession and PersistenceQueryProcessorAbstract implementations

  1. … 17 more files in changeset.
ISIS-1194: making the ApplicationScopedComponent, SessionScopedComponent into marker interfaces.

  1. … 32 more files in changeset.
ISIS-1194: moving application-scoped components to RuntimeContextAbstract superclass; IsisTransaction simplifications

- IsisConfigurationDefault now implements ConfigurationService (and using IsisConfigurationDefault concrete class rather than interface where necessary)

- RuntimeContext implementations now require a ServiceInjector, and default the deployment category and configuration; these are set up and immutable for the runtime context

- meaning that RuntimeContext no longer is ServiceInjectorAware.

also:

- IsisTransaction passed through the PersistenceSession (rather than obtain from IsisContext)

  1. … 20 more files in changeset.
ISIS-1194: removing getAdapterFor() from PersistenceSession (can return itself instead)

also:

- in RuntimeContextForSession, the allMatchingQuery and firstMatchingQuery call the corresponding methods within PersistenceSession

- lexically moved findInstancesInTransaction within PersistenceSession, and made rivate

- lexically moved addCreateObjectCommand within PersistenceSession

- new getAggregateRoot(ParentCollectionOid), pulling together a sequence of calls made by PojoAdapter#getAggregateRoot

- more on the removable of Resettable interface

  1. … 37 more files in changeset.
ISIS-1194: reverting the move of AdapterManager and AdapterManagerAware, as unnecessarily breaks addons (devutils)

  1. … 144 more files in changeset.
ISIS-1194: moving AdapterManager interface to same package as other "runtimecontext" interfaces

  1. … 144 more files in changeset.
ISIS-1194: reinstating deleted classes, for backward compatibility. Also removing stale javadoc references to deleted ObjectStore class.

    • -0
    • +30
    ./TransactionalClosureAbstract.java
    • -0
    • +30
    ./TransactionalClosureWithReturnAbstract.java
  1. … 1 more file in changeset.
ISIS-1194: moved isFixturesInstalled and transaction management stuff from ObjectStore to PersistenceSession

  1. … 7 more files in changeset.
ISIS-1194: removing TransactionalClosureAbstract and TransactionalClosureWithReturnAbstract adapter classes, since neither do anything (just use interface directly).

    • -25
    • +0
    ./TransactionalClosureAbstract.java
    • -30
    • +0
    ./TransactionalClosureWithReturnAbstract.java
  1. … 10 more files in changeset.
ISIS-1194: removed pre and post hooks for TransactionClosure and TransactionClosureWithReturn, since none is used.

    • -24
    • +0
    ./TransactionalClosureAbstract.java
    • -19
    • +0
    ./TransactionalClosureWithReturnAbstract.java
  1. … 1 more file in changeset.
ISIS-1194: working towards combining ObjectStore and PersistenceSession...

... moved execute(commandList) from ObjectStore to PersistenceSession

  1. … 5 more files in changeset.
ISIS-1194: combined OidGenerator and IdentifierGenerator

also:

- pass dependencies into ObjectFactory and to OidGenerator so that they don't need to use IsisContext#getXxx()

- involves passing some components through to PersistenceSession.

  1. … 8 more files in changeset.
ISIS-1194: removing ResolveState, derived persistence state from underlying pojo.

  1. … 32 more files in changeset.
ISIS-1194: removing DirtyFacet and supporting code.

  1. … 38 more files in changeset.