2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.mdsal.binding.dom.codec.util;
11 import org.opendaylight.yangtools.yang.binding.Augmentation;
12 import org.opendaylight.yangtools.yang.binding.AugmentationHolder;
15 * Interface which sould be implemented by proxy {@link java.lang.reflect.InvocationHandler} to obtain augmentations
16 * from proxy implementations of {@link org.opendaylight.yangtools.yang.binding.Augmentable} object.
19 * If implemented proxy does not implement this interface, its augmentations are not properly serialized / deserialized.
21 * @deprecated Use {@link AugmentationHolder} instead.
23 @Deprecated(forRemoval = true)
24 public interface AugmentationReader {
26 Map<Class<? extends Augmentation<?>>, Augmentation<?>> getAugmentations(Object obj);