public class FormatActivator extends Object implements org.osgi.framework.BundleActivator
| Constructor and Description |
|---|
FormatActivator() |
| Modifier and Type | Method and Description |
|---|---|
void |
start(org.osgi.framework.BundleContext context)
Registers all included archive formats by calling
ArchiveFormats.registerAll(). |
void |
stop(org.osgi.framework.BundleContext context)
Cleans up after
start(BundleContext) by calling
ArchiveFormats.unregisterAll(). |
public void start(org.osgi.framework.BundleContext context)
ArchiveFormats.registerAll(). This method is called by the OSGi
framework when the bundle is started.start in interface org.osgi.framework.BundleActivatorpublic void stop(org.osgi.framework.BundleContext context)
start(BundleContext) by calling
ArchiveFormats.unregisterAll().stop in interface org.osgi.framework.BundleActivatorCopyright © 2020 Eclipse JGit Project. All rights reserved.