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
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.Bundle
Gets the bundle.org.osgi.framework.Bundle[]
getBundles
(String bundleName, String version) Gets the bundles.static LauncherPlugin
Returns the shared instance.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, 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:
start
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
start
in classorg.eclipse.core.runtime.Plugin
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
stop
in 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
-