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.dom.api;
10 import org.opendaylight.yangtools.concepts.ExtensibleObject;
11 import org.opendaylight.yangtools.concepts.ObjectExtension;
14 * Marker interface for services which can be obtained from a {@link DOMMountPoint} instance. The only further semantics
15 * implied are that each service can also host related {@link Extension}s supported via the {@link ExtensibleObject}
18 * @param <T> Concrete service type
19 * @param <E> Extension type
21 public interface DOMService<T extends DOMService<T, E>, E extends DOMService.Extension<T, E>>
22 extends ExtensibleObject<T, E> {
24 * Extension to a concrete {@link DOMService}.
26 * @param <T> Concrete service type
27 * @param <E> Extension type
29 interface Extension<T extends DOMService<T, E>, E extends Extension<T, E>> extends ObjectExtension<T, E> {
30 // Only a marker interface