All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.runtime.persistence.PersistenceSessionFactoryDelegate Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.runtime.persistence;


/**
 * Creates a {@link PersistenceSession} on behalf of a {@link PersistenceSessionFactory}.
 */
public interface PersistenceSessionFactoryDelegate {

    
    /**
     * As per {@link PersistenceSessionFactory#createPersistenceSession()}, but
     * passing a {@link PersistenceSessionFactory} to act as the {@link PersistenceSession}'s
     * {@link PersistenceSession#getPersistenceSessionFactory() owning factory}.
     */
    PersistenceSession createPersistenceSession(PersistenceSessionFactory persistenceSessionFactory);

}


// Copyright (c) Naked Objects Group Ltd.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy