@Override public PersistenceSession getPersistenceSession() { return IsisContext.getPersistenceSession(); }
/** * Must use {@link IsisContext context}, because although this object is * recreated with each {@link PersistenceSession session}, the persisted * objects that get * {@link #attachPersistedObjects(MemoryObjectStorePersistedObjects) * attached} to it span multiple sessions. * * <p> * The alternative design would be to laboriously inject this object via the * {@link InMemoryObjectStore}. */ protected PersistenceSession getPersistenceSession() { return IsisContext.getPersistenceSession(); }
protected PersistenceSession getPersistenceSession() { return IsisContext.getPersistenceSession(); }
protected Persistor getPersistenceSession() { return IsisContext.getPersistenceSession(); }
protected PersistenceSession getPersistenceSession() { return IsisContext.getPersistenceSession(); }
/** * Must use {@link IsisContext context}, because although this object is * recreated with each {@link PersistenceSession session}, the persisted * objects that get * {@link #attachPersistedObjects(ObjectStorePersistedObjects) attached} to * it span multiple sessions. * * <p> * The alternative design would be to laboriously inject the session into * not only this object but also the {@link ObjectStoreInstances} that do * the work. */ protected PersistenceSession getPersistenceSession() { return IsisContext.getPersistenceSession(); }
public static AdapterManager getAdapterManager() { return testAdapterManager != null? testAdapterManager: IsisContext.getPersistenceSession().getAdapterManager(); }
protected List<ObjectAdapter> getServiceAdapters() { return IsisContext.getPersistenceSession().getServices(); }
protected List<ObjectAdapter> getServiceAdapters() { return IsisContext.getPersistenceSession().getServices(); }
protected AdapterManager getAdapterManager() { return IsisContext.getPersistenceSession().getAdapterManager(); }