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:22 UTC

[47/51] [abbrv] isis git commit: ISIS-1291: removed InstallerLookupAware and other unused code, simplified InstallerLookup and removed installer-registry.properties

http://git-wip-us.apache.org/repos/asf/isis/blob/b319973f/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 256c5e9..d0ed28a 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 PersistenceSessionInternal}.
+ * Factory for {@link PersistenceSession}.
  *
  * <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 PersistenceSessionInternal createPersistenceSession(
+    public PersistenceSession 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 PersistenceSessionInternal(
+        return new PersistenceSession(
                 configuration, servicesInjector, specificationLoader,
                 authenticationSession, persistenceManagerFactory,
                 fixturesInstalledFlag);