package com.twasyl.slideshowfx.snippet.executor.go.activator; import com.twasyl.slideshowfx.snippet.executor.ISnippetExecutor; import com.twasyl.slideshowfx.snippet.executor.go.GoSnippetExecutor; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import java.util.Hashtable; /** * The BundleActivator that register this OSGi module into the OSGi framework. * * @author Thierry Wasylczenko * @version 1.0.0 * @since SlideshowFX 1.0 */ public class GoSnippetExecutorActivator implements BundleActivator { @Override public void start(BundleContext context) throws Exception { Hashtable<String, String> props = new Hashtable<>(); context.registerService(ISnippetExecutor.class.getName(), new GoSnippetExecutor(), props); } @Override public void stop(BundleContext context) throws Exception { } }