We need OSGi with SCR, otherwise we end up without activated services.
Make sure we have the appropriate annotation.
Change-Id: I5c7e67a531bb7b4e4c48de1872bcfc320557073f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Deactivate;
+import org.osgi.service.component.annotations.RequireServiceComponentRuntime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@MetaInfServices
@Singleton
@Component(immediate = true)
+@RequireServiceComponentRuntime
public final class InMemoryDataTreeFactory implements DataTreeFactory {
private static final Logger LOG = LoggerFactory.getLogger(InMemoryDataTreeFactory.class);
// FIXME: YANGTOOLS-1074: we do not want this name
* This package holds the 'parser implementation', which really is just glue code holding together the statement
* reactor, base RFC6020/RFC7950 support bundles and supported semantic extensions.
*/
+@org.osgi.service.component.annotations.RequireServiceComponentRuntime
package org.opendaylight.yangtools.yang.parser.impl;
\ No newline at end of file