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