Initial code drop of yang model driven configuration system
[controller.git] / opendaylight / config / config-manager / src / main / java / org / opendaylight / controller / config / manager / impl / factoriesresolver / ModuleFactoriesResolver.java
1 /*
2  * Copyright (c) 2013 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 package org.opendaylight.controller.config.manager.impl.factoriesresolver;
9
10 import java.util.List;
11
12 import org.opendaylight.controller.config.spi.ModuleFactory;
13
14 /**
15  * {@link org.opendaylight.controller.config.manager.impl.ConfigTransactionControllerImpl}
16  * receives list of factories using this interface. For testing, this could be
17  * implemented as hard coded list of objects, for OSGi this would look for all
18  * services in OSGi Service Registry are registered under
19  * {@link org.opendaylight.controller.config.spi.ModuleFactory} name.
20  */
21 public interface ModuleFactoriesResolver {
22
23     List<? extends ModuleFactory> getAllFactories();
24
25 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.