blob: 0513b7c26991c6754f22aa6ea288e014cdd59310 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008, 2012 Oracle. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0, which accompanies this distribution
* and is available at https://www.eclipse.org/legal/epl-2.0/.
*
* Contributors:
* Oracle - initial API and implementation
******************************************************************************/
package org.eclipse.jpt.jpa.core.tests.extension.resource;
import org.eclipse.jpt.common.core.internal.utility.JptPlugin;
public class TestExtensionPlugin
extends JptPlugin
{
// ********** singleton **********
private static volatile TestExtensionPlugin INSTANCE;
/**
* Return the singleton test extension plug-in.
*/
public static TestExtensionPlugin instance() {
return INSTANCE;
}
// ********** Dali plug-in **********
public TestExtensionPlugin() {
super();
}
@Override
protected void setInstance(JptPlugin plugin) {
INSTANCE = (TestExtensionPlugin) plugin;
}
}