Class ProtocolsConfigFileProcessor

    • Constructor Detail

      • ProtocolsConfigFileProcessor

        @Inject
        public ProtocolsConfigFileProcessor​(ConfigLoader configLoader,
                                            org.opendaylight.mdsal.dom.api.DOMDataBroker dataBroker)
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • close

        @PreDestroy
        public void close()
      • fileRootSchema

        public org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute fileRootSchema()
        Description copied from interface: ConfigFileProcessor
        Return the SchemaNodeIdentifier.Absolute path to the expected root node of the document contained in the file.
        Returns:
        An absolute schema node identifier.
      • loadConfiguration

        protected com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo> loadConfiguration​(org.opendaylight.mdsal.dom.api.DOMDataBroker dataBroker,
                                                                                                                                           org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode dto)
        Description copied from class: AbstractConfigFileProcessor
        Load specified DTO using provided DOMDataBroker.
        Specified by:
        loadConfiguration in class AbstractConfigFileProcessor
        Parameters:
        dataBroker - data broker to use
        dto - normalizedNode
        Returns:
        Transaction commit future