Class DatastoreContextIntrospector


  • public class DatastoreContextIntrospector
    extends Object
    Introspects on a DatastoreContext instance to set its properties via reflection. i
    Author:
    Thomas Pantelis
    • Constructor Detail

      • DatastoreContextIntrospector

        public DatastoreContextIntrospector​(DatastoreContext context,
                                            org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer bindingSerializer)
    • Method Detail

      • update

        public boolean update​(Map<String,​Object> properties)
        Applies the given properties to the cached DatastoreContext and yields a new DatastoreContext instance which can be obtained via getContext().
        Parameters:
        properties - the properties to apply
        Returns:
        true if the cached DatastoreContext was updated, false otherwise.