org.eclipse.jpt.jpa.eclipselink.core
Class JptJpaEclipseLinkCorePlugin

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.jpt.jpa.eclipselink.core.JptJpaEclipseLinkCorePlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class JptJpaEclipseLinkCorePlugin
extends org.eclipse.core.runtime.Plugin

The activator class controls the plug-in life cycle


Field Summary
static org.eclipse.core.runtime.IPath DEFAULT_ECLIPSELINK_ORM_XML_RUNTIME_PATH
           
static JptResourceType ECLIPSELINK_ORM_XML_1_0_RESOURCE_TYPE
          The resource type for eclipselink-orm.xml version 1.0 mapping files
static JptResourceType ECLIPSELINK_ORM_XML_1_1_RESOURCE_TYPE
          The resource type for eclipselink-orm.xml version 1.1 mapping files
static JptResourceType ECLIPSELINK_ORM_XML_1_2_RESOURCE_TYPE
          The resource type for eclipselink-orm.xml version 1.1 mapping files
static JptResourceType ECLIPSELINK_ORM_XML_2_0_RESOURCE_TYPE
          The resource type for eclipselink-orm.xml version 2.0 mapping files
static JptResourceType ECLIPSELINK_ORM_XML_2_1_RESOURCE_TYPE
          The resource type for eclipselink-orm.xml version 2.1 mapping files
static JptResourceType ECLIPSELINK_ORM_XML_2_2_RESOURCE_TYPE
          The resource type for eclipselink-orm.xml version 2.2 mapping files
static JptResourceType ECLIPSELINK_ORM_XML_2_3_RESOURCE_TYPE
          The resource type for eclipselink-orm.xml version 2.3 mapping files
static org.eclipse.core.runtime.content.IContentType ECLIPSELINK_ORM_XML_CONTENT_TYPE
          Value of the content-type for eclipselink-orm.xml mappings files.
static java.lang.String ECLIPSELINK_PLATFORM_VERSION_1_0
          Version string for EclipseLink platform version 1.0
static java.lang.String ECLIPSELINK_PLATFORM_VERSION_1_1
          Version string for EclipseLink platform version 1.1
static java.lang.String ECLIPSELINK_PLATFORM_VERSION_1_2
          Version string for EclipseLink platform version 1.2
static java.lang.String ECLIPSELINK_PLATFORM_VERSION_2_0
          Version string for EclipseLink platform version 2.0
static java.lang.String ECLIPSELINK_PLATFORM_VERSION_2_1
          Version string for EclipseLink platform version 2.1
static java.lang.String ECLIPSELINK_PLATFORM_VERSION_2_2
          Version string for EclipseLink platform version 2.2
static java.lang.String ECLIPSELINK_PLATFORM_VERSION_2_3
          Version string for EclipseLink platform version 2.3
static java.lang.String PLUGIN_ID
           
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
JptJpaEclipseLinkCorePlugin()
           
 
Method Summary
static JptJpaEclipseLinkCorePlugin instance()
          Return the singleton JPT EclipseLink plug-in.
static void log(org.eclipse.core.runtime.IStatus status)
          Log the specified status.
static void log(java.lang.String msg)
          Log the specified message.
static void log(java.lang.String msg, java.lang.Throwable throwable)
          Log the specified message and exception or error.
static void log(java.lang.Throwable throwable)
          Log the specified exception or error.
 void start(org.osgi.framework.BundleContext context)
           
 void stop(org.osgi.framework.BundleContext context)
           
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
See Also:
Constant Field Values

ECLIPSELINK_PLATFORM_VERSION_1_0

public static final java.lang.String ECLIPSELINK_PLATFORM_VERSION_1_0
Version string for EclipseLink platform version 1.0

See Also:
Constant Field Values

ECLIPSELINK_PLATFORM_VERSION_1_1

public static final java.lang.String ECLIPSELINK_PLATFORM_VERSION_1_1
Version string for EclipseLink platform version 1.1

See Also:
Constant Field Values

ECLIPSELINK_PLATFORM_VERSION_1_2

public static final java.lang.String ECLIPSELINK_PLATFORM_VERSION_1_2
Version string for EclipseLink platform version 1.2

See Also:
Constant Field Values

ECLIPSELINK_PLATFORM_VERSION_2_0

public static final java.lang.String ECLIPSELINK_PLATFORM_VERSION_2_0
Version string for EclipseLink platform version 2.0

See Also:
Constant Field Values

ECLIPSELINK_PLATFORM_VERSION_2_1

public static final java.lang.String ECLIPSELINK_PLATFORM_VERSION_2_1
Version string for EclipseLink platform version 2.1

See Also:
Constant Field Values

ECLIPSELINK_PLATFORM_VERSION_2_2

public static final java.lang.String ECLIPSELINK_PLATFORM_VERSION_2_2
Version string for EclipseLink platform version 2.2

See Also:
Constant Field Values

ECLIPSELINK_PLATFORM_VERSION_2_3

public static final java.lang.String ECLIPSELINK_PLATFORM_VERSION_2_3
Version string for EclipseLink platform version 2.3

See Also:
Constant Field Values

ECLIPSELINK_ORM_XML_CONTENT_TYPE

public static final org.eclipse.core.runtime.content.IContentType ECLIPSELINK_ORM_XML_CONTENT_TYPE
Value of the content-type for eclipselink-orm.xml mappings files. Use this value to retrieve the ORM xml content type from the content type manager and to add new eclipselink-orm.xml-like extensions to this content type.

See Also:
IContentTypeManager.getContentType(String)

ECLIPSELINK_ORM_XML_1_0_RESOURCE_TYPE

public static final JptResourceType ECLIPSELINK_ORM_XML_1_0_RESOURCE_TYPE
The resource type for eclipselink-orm.xml version 1.0 mapping files


ECLIPSELINK_ORM_XML_1_1_RESOURCE_TYPE

public static final JptResourceType ECLIPSELINK_ORM_XML_1_1_RESOURCE_TYPE
The resource type for eclipselink-orm.xml version 1.1 mapping files


ECLIPSELINK_ORM_XML_1_2_RESOURCE_TYPE

public static final JptResourceType ECLIPSELINK_ORM_XML_1_2_RESOURCE_TYPE
The resource type for eclipselink-orm.xml version 1.1 mapping files


ECLIPSELINK_ORM_XML_2_0_RESOURCE_TYPE

public static final JptResourceType ECLIPSELINK_ORM_XML_2_0_RESOURCE_TYPE
The resource type for eclipselink-orm.xml version 2.0 mapping files


ECLIPSELINK_ORM_XML_2_1_RESOURCE_TYPE

public static final JptResourceType ECLIPSELINK_ORM_XML_2_1_RESOURCE_TYPE
The resource type for eclipselink-orm.xml version 2.1 mapping files


ECLIPSELINK_ORM_XML_2_2_RESOURCE_TYPE

public static final JptResourceType ECLIPSELINK_ORM_XML_2_2_RESOURCE_TYPE
The resource type for eclipselink-orm.xml version 2.2 mapping files


ECLIPSELINK_ORM_XML_2_3_RESOURCE_TYPE

public static final JptResourceType ECLIPSELINK_ORM_XML_2_3_RESOURCE_TYPE
The resource type for eclipselink-orm.xml version 2.3 mapping files


DEFAULT_ECLIPSELINK_ORM_XML_RUNTIME_PATH

public static final org.eclipse.core.runtime.IPath DEFAULT_ECLIPSELINK_ORM_XML_RUNTIME_PATH
Constructor Detail

JptJpaEclipseLinkCorePlugin

public JptJpaEclipseLinkCorePlugin()
Method Detail

instance

public static JptJpaEclipseLinkCorePlugin instance()
Return the singleton JPT EclipseLink plug-in.


log

public static void log(java.lang.String msg)
Log the specified message.


log

public static void log(java.lang.Throwable throwable)
Log the specified exception or error.


log

public static void log(java.lang.String msg,
                       java.lang.Throwable throwable)
Log the specified message and exception or error.


log

public static void log(org.eclipse.core.runtime.IStatus status)
Log the specified status.


start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class org.eclipse.core.runtime.Plugin
Throws:
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Overrides:
stop in class org.eclipse.core.runtime.Plugin
Throws:
java.lang.Exception