|
|
@ -58,10 +58,11 @@ import org.osgi.framework.BundleContext; |
|
|
|
public class FormatActivator implements BundleActivator { |
|
|
|
public class FormatActivator implements BundleActivator { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Registers all included archive formats by calling |
|
|
|
* Registers all included archive formats by calling |
|
|
|
* {@link #start()}. This method is called by the OSGi framework |
|
|
|
* {@link ArchiveFormats#registerAll()}. This method is called by the OSGi |
|
|
|
* when the bundle is started. |
|
|
|
* framework when the bundle is started. |
|
|
|
* |
|
|
|
* |
|
|
|
* @param context unused |
|
|
|
* @param context |
|
|
|
|
|
|
|
* unused |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void start(BundleContext context) { |
|
|
|
public void start(BundleContext context) { |
|
|
|
ArchiveFormats.registerAll(); |
|
|
|
ArchiveFormats.registerAll(); |
|
|
@ -69,9 +70,10 @@ public class FormatActivator implements BundleActivator { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Cleans up after {@link #start(BundleContext)} by calling |
|
|
|
* Cleans up after {@link #start(BundleContext)} by calling |
|
|
|
* {@link #stop()}. |
|
|
|
* {@link ArchiveFormats#unregisterAll}. |
|
|
|
* |
|
|
|
* |
|
|
|
* @param context unused |
|
|
|
* @param context |
|
|
|
|
|
|
|
* unused |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void stop(BundleContext context) { |
|
|
|
public void stop(BundleContext context) { |
|
|
|
ArchiveFormats.unregisterAll(); |
|
|
|
ArchiveFormats.unregisterAll(); |
|
|
|