package com.twasyl.slideshowfx.content.extension.alert.activator; import com.twasyl.slideshowfx.content.extension.IContentExtension; import com.twasyl.slideshowfx.content.extension.alert.AlertContentExtension; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import java.util.Hashtable; /** * Activator class for the content extension that allows to insert alert easily inside a SlideshowFX presentation. * * @author Thierry Wasylczenko * @version 1.0 * @since SlideshowFX 1.0 */ public class AlertContentExtensionActivator implements BundleActivator { @Override public void start(BundleContext bundleContext) throws Exception { Hashtable<String, String> props = new Hashtable<>(); bundleContext.registerService(IContentExtension.class.getName(), new AlertContentExtension(), props); } @Override public void stop(BundleContext bundleContext) throws Exception { } }