Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-1194: reverting the move of AdapterManager and AdapterManagerAware, as unnecessarily breaks addons (devutils)

  1. … 144 more files in changeset.
ISIS-1194: inlined AdapterManager functionality back into PersistenceSession

    • -3
    • +1
    ./persistence/PersistenceSessionTest.java
  1. … 2 more files in changeset.
ISIS-1194: moving AdapterManager interface to same package as other "runtimecontext" interfaces

  1. … 144 more files in changeset.
ISIS-1194: removing MessageBrokerService from ObjectMemberDependencies

  1. … 7 more files in changeset.
ISIS-1194: renamed ObjectPersistor interface to PersistenceSessionService

  1. … 28 more files in changeset.
ISIS-1194: renaming QuerySubmitter interface (currently empty) to MessageBrokerService

  1. … 18 more files in changeset.
ISIS-1194: moving methods from QuerySubmitter interface to ObjectPersistor interface.

QuerySubmitter is now empty

  1. … 19 more files in changeset.
ISIS-1194: moving interfaces for subcomponents of RuntimeContext into different package.

  1. … 51 more files in changeset.
ISIS-1194: fixing up unit tests; also changing isis-core-runtime's pom.xml, skipTests = false

    • -90
    • +0
    ./session/IsisSessionFactoryAbstractTest_init_and_shutdown.java
  1. … 18 more files in changeset.
ISIS-1194: inlining functionality of PojoRecreator into AdapterManagerDefault

    • -2
    • +1
    ./persistence/PersistenceSessionTest.java
  1. … 3 more files in changeset.
ISIS-1194: pass dependencies to AdapterManager through constructor, rather than using IsisContext. Also remove PojoAdapterFactory, inlining its functionality into AdapterManagerDefault.

    • -7
    • +10
    ./persistence/PersistenceSessionTest.java
  1. … 4 more files in changeset.
ISIS-1194: renamed PersistenceSession#makePersistent to ...InTransaction

    • -1
    • +1
    ./persistence/PersistenceSessionTest.java
  1. … 4 more files in changeset.
ISIS-1194: renamed PersistenceSession#destroyObject to ...InTransaction

    • -2
    • +2
    ./persistence/PersistenceSessionTest.java
  1. … 2 more files in changeset.
ISIS-1194: moved remaining helper methods from ObjectStore to PersistenceSession; removed ObjectStore class.

    • -2
    • +0
    ./persistence/PersistenceSessionTest.java
  1. … 7 more files in changeset.
ISIS-1194: simplifying PersistenceSession#open

    • -2
    • +0
    ./persistence/PersistenceSessionTest.java
  1. … 1 more file in changeset.
ISIS-1194: renaming ObjectStore#open and #close, prior to moving to PersistenceSession.

    • -2
    • +2
    ./persistence/PersistenceSessionTest.java
  1. … 2 more files in changeset.
ISIS-1194: moved isFixturesInstalled and transaction management stuff from ObjectStore to PersistenceSession

    • -13
    • +13
    ./persistence/PersistenceSessionTest.java
  1. … 7 more files in changeset.
ISIS-1194: refactor PojoRecreator to pass its dependencies through constructor rather than via IsisContext.

    • -1
    • +2
    ./persistence/PersistenceSessionTest.java
  1. … 4 more files in changeset.
ISIS-1194: working towards combining ObjectStore and PersistenceSession...

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

    • -20
    • +19
    ./persistence/PersistenceSessionTest.java
  1. … 6 more files in changeset.
ISIS-1194: working towards combining ObjectStore and PersistenceSession

... move createXxxCommand from ObjectStore to PersistenceSession

... derive ObjectStore's state from PersistenceSession

    • -5
    • +8
    ./persistence/PersistenceSessionTest.java
  1. … 2 more files in changeset.
ISIS-1194: moving persistence classes around, removing PersistenceSessionFactoryAware. ; + fix for unit test per previous commit

moved:

-DataNucleusApplicationComponents

- FrameworkSynchronizer

- IsisLifecycleListener (renamed as ...2 to ensure backward compatibility)

also:

- CreateSchemaObjectFromClassMetadata no longer requires PersistenceSessionFactory so remove PersistenceSessionFactoryAware interface

- fixing test that references ObjectStore#name() - was removed in previous commit.

    • -1
    • +0
    ./persistence/PersistenceSessionTest.java
  1. … 22 more files in changeset.
ISIS-1194: moving ObjectStore to same package as PersistenceSesion.

also:

- deleted PersistorImplementation

    • -1
    • +0
    ./persistence/PersistenceSessionTest.java
  1. … 13 more files in changeset.
ISIS-1194: renamed DataNucleusObjectStore to ObjectStore; tidying up comments for PersistenceSession and ObjectStore

    • -2
    • +2
    ./persistence/PersistenceSessionTest.java
  1. … 11 more files in changeset.
ISIS-1194: deleting ObjectAdapterFactory; just use PojoAdapterFactory instead.

in addition, inject its dependencies via constructor, rather than have it look them up from IsisContext.

    • -3
    • +2
    ./persistence/PersistenceSessionTest.java
  1. … 8 more files in changeset.
ISIS-1194: PersistenceSession creates DataNucleusObjectStore (rather than the PersistenceSessionFactory creating, and handing to PersistenceSession)

in addition, in DataNucleusObjectStore

- remove the unused TransactionMode (chained/unchained)

- pass in additional dependencies in the constructor, to avoid having to look them up from IsisContext

- remove #adapterFactory field, since not used

- just new up OidMarshaller rather than looking up from IsisContext

- don't register the incomplete PersistenceQueryProcessors in the hash (and delete aforesaid incomplete PQPs)

also

- in PersistenceSession, don't expose PersistenceSessionFactory (only used internally)

- in PersistenceSession, remove the unused createAggregatedInstance, and #testReset

- removed unused suspendListener/resumeListener from DataNucleusApplicationComponents

    • -1
    • +1
    ./persistence/PersistenceSessionTest.java
  1. … 7 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
    • +4
    ./persistence/PersistenceSessionTest.java
  1. … 8 more files in changeset.
ISIS-1194: removing ObjectStore inteface, use DataNucleusObjectStore class directly instead.

    • -1
    • +2
    ./persistence/PersistenceSessionTest.java
  1. … 6 more files in changeset.
ISIS-1194: simplifying PersistAlgorithm, IdentifierGenerator and PojoRecreator.

Previously we had implementations for both DN and in-memory, but we now only need the one for DN, and no requirement for an interface.

    • -3
    • +8
    ./persistence/PersistenceSessionTest.java
  1. … 21 more files in changeset.
ISIS-1194: removing ServicesProvider from RuntimeContext and elsewhere, instead use ServicesInjector.

  1. … 15 more files in changeset.
ISIS-1194 (and also ISIS-1044): removing unused code.

- ActionFacet#invoke(...)

- Memento#encodedData, recreateFrom

- unused parameters (DeploymentCategory and AuthenticationSessionProvider) in ObjectFeature (members and parameters) class hierarchy

- removed DeploymentCategory and AuthenticationSessionProvider fields for SpecificationContext and ObjectMemberContext

- removed ObjectAssociationFilters static class, no longer used

Also:

- renamed SpecificationContext to ObjectSpecificationDependencies

- renamed ObjectMemberContext to ObjectMemberDependencies

  1. … 43 more files in changeset.