private void subscribe()

in rcomp-eventadmin/src/main/java/org/apache/karaf/rcomp/eventadmin/EventAdminSource.java [85:92]


        private void subscribe() {
            Dictionary<String, Object> props = new Hashtable<>();
            props.put(EventConstants.EVENT_TOPIC, new String[] {
                                                                topic
            });
            sreg = context.registerService(EventHandler.class, this, props);
            LOGGER.info("Subscribed to " + topic);
        }