AugmentationHolder provides the equivalent functionality in-line
in the DataObject itself. Deprecate AugmentationHolder for removal.
JIRA: MDSAL-392
Change-Id: I51044365a38e26f57792bb2036a2775f3b92d711
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
import java.util.Map;
import org.opendaylight.yangtools.yang.binding.Augmentation;
import java.util.Map;
import org.opendaylight.yangtools.yang.binding.Augmentation;
+import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
/**
* Interface which sould be implemented by proxy {@link java.lang.reflect.InvocationHandler} to obtain augmentations
/**
* Interface which sould be implemented by proxy {@link java.lang.reflect.InvocationHandler} to obtain augmentations
*
* <p>
* If implemented proxy does not implement this interface, its augmentations are not properly serialized / deserialized.
*
* <p>
* If implemented proxy does not implement this interface, its augmentations are not properly serialized / deserialized.
+ *
+ * @deprecated Use {@link AugmentationHolder} instead.
+@Deprecated(forRemoval = true)
public interface AugmentationReader {
Map<Class<? extends Augmentation<?>>, Augmentation<?>> getAugmentations(Object obj);
public interface AugmentationReader {
Map<Class<? extends Augmentation<?>>, Augmentation<?>> getAugmentations(Object obj);