Binding2 runtime - Codecs impl #2
[mdsal.git] / binding2 / mdsal-binding2-dom-codec / src / main / java / org / opendaylight / mdsal / binding / javav2 / dom / codec / impl / context / base / NodeContextSupplier.java
1 /*
2  * Copyright (c) 2017 Pantheon Technologies s.r.o. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.mdsal.binding.javav2.dom.codec.impl.context.base;
10
11 import com.google.common.annotations.Beta;
12 import com.google.common.base.Supplier;
13 import javax.annotation.Nonnull;
14
15 /**
16  * Type capture of an entity producing NodeCodecContexts.
17  */
18 @Beta
19 interface NodeContextSupplier extends Supplier<NodeCodecContext<?>> {
20
21     @Override
22     @Nonnull
23     NodeCodecContext<?> get();
24 }