Package org.apache.uima.ep_launcher
Class LauncherPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.apache.uima.ep_launcher.LauncherPlugin
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class LauncherPlugin
extends org.eclipse.core.runtime.Plugin
The Class LauncherPlugin.
-
Field Summary
FieldsFields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.BundleGets the bundle.org.osgi.framework.Bundle[]getBundles(String bundleName, String version) Gets the bundles.static LauncherPluginReturns the shared instance.voidstart(org.osgi.framework.BundleContext context) voidstop(org.osgi.framework.BundleContext context) Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
Field Details
-
ID
The Constant ID.- See Also:
-
-
Constructor Details
-
LauncherPlugin
public LauncherPlugin()Instantiates a new launcher plugin.
-
-
Method Details
-
start
- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classorg.eclipse.core.runtime.Plugin- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classorg.eclipse.core.runtime.Plugin- Throws:
Exception
-
getBundles
Gets the bundles.- Parameters:
bundleName- the bundle nameversion- the version- Returns:
- the bundles
-
getBundle
Gets the bundle.- Parameters:
bundleName- the bundle name- Returns:
- the bundle
-
getDefault
Returns the shared instance.- Returns:
- the default
-