The IsisContext class (in nof-core) is responsible for locating the current execution context. @see IsisSessionFactory
186187188189190191192193194
} public void setPersistenceSession(final PersistenceSession persistor) { this.persistenceSession = persistor; if (context != null) { final IsisSessionDefault current = (IsisSessionDefault) context.getSessionInstance(); current.testSetObjectPersistor(persistor); } }