BUG-6650: ep-ip/sgt, propose initial template provider api
[groupbasedpolicy.git] / sxp-integration / sxp-ep-provider / src / main / java / org / opendaylight / groupbasedpolicy / sxp / ep / provider / api / EPPolicyTemplateProviderRegistry.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.sxp.ep.provider.api;
10
11 import org.opendaylight.yangtools.concepts.ObjectRegistration;
12
13 /**
14  * Purpose: injection point for a {@link EPPolicyTemplateProvider}
15  */
16 public interface EPPolicyTemplateProviderRegistry {
17
18     /**
19      * @param templateProvider provider to register
20      * @return corresponding registration
21      */
22     ObjectRegistration<EPPolicyTemplateProvider> registerTemplateProvider(EPPolicyTemplateProvider templateProvider);
23 }