/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.config.spi; import org.opendaylight.controller.config.api.ModuleIdentifier; import org.opendaylight.yangtools.concepts.Identifiable; import javax.annotation.concurrent.NotThreadSafe; /** * Represents one service that is to be configured. These methods need to be * implemented in addition to the usual attribute getters/setters. Dependencies * should always be injected as ObjectName references to the corresponding * ConfigBeans. *
* In order to guide dependency resolution, the setter method should be * annotated with {@link org.opendaylight.controller.config.api.annotations.RequireInterface}. *
** Thread safety note: implementations of this interface are not required to be * thread safe as thread safety is enforced by configuration manager. *
*/ @NotThreadSafe public interface Module extends Identifiable