Introduced DomainSpecificRegistry service
[groupbasedpolicy.git] / groupbasedpolicy / src / main / java / org / opendaylight / groupbasedpolicy / api / EndpointAugmentorRegistry.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. 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.groupbasedpolicy.api;
10
11 public interface EndpointAugmentorRegistry {
12
13     /**
14      * Registers domain specific endpoint augmentor
15      *
16      * @param endpointAugmentor cannot be {@code null}
17      * @throws NullPointerException if <i>endpointAugmentor</i> is {@code null}
18      */
19     void register(EndpointAugmentor endpointAugmentor);
20
21     /**
22      * Unregisters domain specific endpoint augmentor
23      *
24      * @param endpointAugmentor cannot be {@code null}
25      * @throws NullPointerException if <i>endpointAugmentor</i> is {@code null}
26      */
27     void unregister(EndpointAugmentor endpointAugmentor);
28
29 }