You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2016/05/20 13:34:08 UTC
[33/51] [abbrv] isis git commit: ISIS-1409: internal components of
RuntimeContext subclasses are now internal domain services;
RuntimeContext hierarchy collapsed into a single class.
http://git-wip-us.apache.org/repos/asf/isis/blob/a2a9f519/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSessionFactory.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSessionFactory.java b/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSessionFactory.java
index d0ed28a..256c5e9 100644
--- a/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSessionFactory.java
+++ b/core/runtime/src/main/java/org/apache/isis/core/runtime/system/persistence/PersistenceSessionFactory.java
@@ -43,7 +43,7 @@ import org.apache.isis.objectstore.jdo.service.RegisterEntities;
/**
*
- * Factory for {@link PersistenceSession}.
+ * Factory for {@link PersistenceSessionInternal}.
*
* <p>
* Implementing class is added to {@link ServicesInjector} as an (internal) domain service; all public methods
@@ -166,7 +166,7 @@ public class PersistenceSessionFactory implements ApplicationScopedComponent, Fi
* Called by {@link org.apache.isis.core.runtime.system.session.IsisSessionFactory#openSession(AuthenticationSession)}.
*/
@Programmatic
- public PersistenceSession createPersistenceSession(
+ public PersistenceSessionInternal createPersistenceSession(
final ServicesInjector servicesInjector,
final SpecificationLoader specificationLoader,
final AuthenticationSession authenticationSession) {
@@ -175,7 +175,7 @@ public class PersistenceSessionFactory implements ApplicationScopedComponent, Fi
final PersistenceManagerFactory persistenceManagerFactory =
applicationComponents.getPersistenceManagerFactory();
- return new PersistenceSession(
+ return new PersistenceSessionInternal(
configuration, servicesInjector, specificationLoader,
authenticationSession, persistenceManagerFactory,
fixturesInstalledFlag);