public void start(BundleContext bc) throws Exception {
System.out.println(bc.getBundle().getHeaders().get
(Constants.BUNDLE_NAME) + " starting...");
Activator.bc = bc;
DateService service = new DateServiceImpl();
ServiceRegistration registration =
bc.registerService(DateService.class.getName(),
service,
new Hashtable());
System.out.println("Service registered: DateService");