| /******************************************************************************* |
| * Copyright (c) 2009, 2010 Oracle. All rights reserved. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v1.0, which accompanies this distribution |
| * and is available at http://www.eclipse.org/legal/epl-v10.html. |
| * |
| * Contributors: |
| * Oracle - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.jpt.eclipselink.core.internal.v2_1; |
| |
| import org.eclipse.jpt.core.JpaPlatformProvider; |
| |
| /** |
| * EclipseLink 2.1 platform config |
| */ |
| public class EclipseLink2_1JpaPlatformProvider |
| extends AbstractEclipseLink2_1JpaPlatformProvider |
| { |
| // singleton |
| private static final JpaPlatformProvider INSTANCE = new EclipseLink2_1JpaPlatformProvider(); |
| |
| |
| /** |
| * Return the singleton |
| */ |
| public static JpaPlatformProvider instance() { |
| return INSTANCE; |
| } |
| |
| |
| /** |
| * Enforce singleton usage |
| */ |
| private EclipseLink2_1JpaPlatformProvider() { |
| super(); |
| } |
| } |