@Activate
 public void activate(BundleContext bundleContext, Map<String, Object> properties)
     throws Exception {
   for (String type : CONTENT_TYPES) {
     resourceIndexingService.addHandler(type, this);
   }
 }
 @Deactivate
 protected void deactivate(Map<?, ?> props) {
   resourceIndexingService.removeHandler(ConnectionConstants.SAKAI_CONTACT_RT, this);
 }
 @Deactivate
 protected void deactivate() {
   for (String type : CONTENT_TYPES) {
     resourceIndexingService.removeHandler(type, this);
   }
 }
 @Deactivate
 public void deactivate(Map<String, Object> properties) {
   for (String type : CONTENT_TYPES) {
     resourceIndexingService.removeHandler(type, this);
   }
 }