org.eclipse.emf.cdo.jdbc
Class JDBCPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.net4j.util.eclipse.AbstractPlugin
org.eclipse.emf.cdo.jdbc.JDBCPlugin
- All Implemented Interfaces:
- org.eclipse.net4j.util.eclipse.ClassLoaderFactory, org.osgi.framework.BundleActivator
public class JDBCPlugin
- extends org.eclipse.net4j.util.eclipse.AbstractPlugin
The main plugin class to be used in the desktop.
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Methods inherited from class org.eclipse.net4j.util.eclipse.AbstractPlugin |
cancelOperation, checkCanceled, debug, error, error, error, getBundleContext, getBundleLocation, getBundleLocation, getClassLoader, getLogger, getPluginId, getResourceBundle, getResourceString, monitorFor, start, stop, subMonitorFor, subMonitorFor, warn, warn, warn |
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
- See Also:
- Constant Field Values
DRIVERS_EXT_POINT_ID
public static final java.lang.String DRIVERS_EXT_POINT_ID
- See Also:
- Constant Field Values
JDBCPlugin
public JDBCPlugin()
- The constructor.
getDefault
public static JDBCPlugin getDefault()
- Returns the shared instance.
getDriverElements
public java.util.List<JDBCPlugin.DriverElement> getDriverElements()
- Returns:
- Returns the driverElements.
getDriverElement
public JDBCPlugin.DriverElement getDriverElement(java.lang.String driverName)
- Parameters:
driverName
-
- Returns:
getDriverClassName
public java.lang.String getDriverClassName(java.lang.String driverName)
- Parameters:
driverName
-
- Returns:
getDriverExampleURL
public java.lang.String getDriverExampleURL(java.lang.String driverName)
- Parameters:
driverName
-
- Returns:
getSupportedDialects
public JDBCPlugin.SupportedDialectElement[] getSupportedDialects(java.lang.String driverName)
- Parameters:
driverName
-
- Returns:
doStart
protected void doStart()
throws java.lang.Exception
- Overrides:
doStart
in class org.eclipse.net4j.util.eclipse.AbstractPlugin
- Throws:
java.lang.Exception
doStop
protected void doStop()
throws java.lang.Exception
- Overrides:
doStop
in class org.eclipse.net4j.util.eclipse.AbstractPlugin
- Throws:
java.lang.Exception
checkLibraries
protected void checkLibraries()