@Activate protected void activate(Map<?, ?> props) { defaultMaxResults = OsgiUtil.toInteger(props.get(DEFAULT_MAX_RESULTS), defaultMaxResults); slowQueryThreshold = OsgiUtil.toLong(props.get(SLOW_QUERY_TIME), 10L); verySlowQueryThreshold = OsgiUtil.toLong(props.get(VERY_SLOW_QUERY_TIME), 100L); }