Skip to content

Instantly share code, notes, and snippets.

@rvrsh3ll
Created June 20, 2018 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rvrsh3ll/e1d27bab0641c2763dba2cbc0549a90d to your computer and use it in GitHub Desktop.
Save rvrsh3ll/e1d27bab0641c2763dba2cbc0549a90d to your computer and use it in GitHub Desktop.
package com.rvrsh3ll.osgi.shellme;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class Activator implements BundleActivator {
public void start(BundleContext context) throws Exception {
System.out.println("Hi!");
}
public void stop(BundleContext context) throws Exception {
System.out.println("RIP");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment