/*
 * The contents of this file are subject to the terms of the Common Development
 * and Distribution License (the License). You may not use this file except in
 * compliance with the License.
 *
 * You can obtain a copy of the License at http://www.opensource.org/licenses/cddl1.php
 * or http://www.opensource.org/licenses/cddl1.txt.
 *
 * When distributing Covered Code, include this CDDL Header Notice in each file
 * and include the License file at http://www.opensource.org/licenses/cddl1.php.
 * If applicable, add the following below the CDDL Header, with the fields
 * enclosed by brackets [] replaced by your own identifying information:
 * "Portions Copyrighted [year] [name of copyright owner]"
 *
 * The Original Software is de.dev.eth0_obroker_war_0.1. The Initial Developer of the Original
 * Software is Alexander Muthmann <amuthmann at dev-eth0.de>.
 */
package de.dev.eth0.obroker.services.dao;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

/**
 *
 * @author Alexander Muthmann <amuthmann at dev-eth0.de>
 * @version 03/2010
 */
public class PersistanceManagerFactory {

    private static final PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory("transactions-optional");

    private PersistanceManagerFactory() {
    }

    public static PersistenceManagerFactory get() {
        return pmfInstance;
    }
}


