Advertisement
Guest User

Untitled

a guest
Aug 10th, 2010
799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. package com.test;
  2.  
  3. import org.osgi.framework.BundleActivator;
  4. import org.osgi.framework.BundleContext;
  5.  
  6. public class Activator implements BundleActivator {
  7.  
  8. /*
  9. * (non-Javadoc)
  10. * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
  11. */
  12. public void start(BundleContext context) throws Exception {
  13. System.out.println("Hello World!!");
  14. }
  15.  
  16. /*
  17. * (non-Javadoc)
  18. * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
  19. */
  20. public void stop(BundleContext context) throws Exception {
  21. System.out.println("Goodbye World!!");
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement