Activator.java 508 B

12345678910111213141516171819202122
  1. package uraxis.impl;
  2. import org.osgi.framework.BundleActivator;
  3. import org.osgi.framework.BundleContext;
  4. /**
  5. * Hello world activator for the OSGi bundle URCAPS contribution
  6. *
  7. */
  8. public class Activator implements BundleActivator {
  9. @Override
  10. public void start(BundleContext bundleContext) throws Exception {
  11. System.out.println("Activator says Hello World!");
  12. }
  13. @Override
  14. public void stop(BundleContext bundleContext) throws Exception {
  15. System.out.println("Activator says Goodbye World!");
  16. }
  17. }