import javax.management.ObjectName;
import org.opendaylight.controller.config.api.annotations.AbstractServiceInterface;
+import org.opendaylight.yangtools.concepts.Identifiable;
/**
* Each new {@link org.opendaylight.controller.config.spi.Module} can receive
*
* @see org.opendaylight.controller.config.spi.Module
*/
-public interface DependencyResolver {
+public interface DependencyResolver extends Identifiable<ModuleIdentifier> {
/**
* To be used during validation phase to validate serice interface of
Class<? extends AbstractServiceInterface> expectedServiceInterface,
ObjectName objectName, JmxAttribute jmxAttribute);
- @Deprecated
- // TODO remove once all config code is generated
- void validateDependency(
- Class<? extends AbstractServiceInterface> expectedServiceInterface,
- ObjectName objectName, String attributeNameForErrorReporting);
-
/**
* To be used during commit phase to wire actual dependencies.
*
<T> T resolveInstance(Class<T> expectedType, ObjectName objectName,
JmxAttribute jmxAttribute);
- @Deprecated
- <T> T resolveInstance(Class<T> expectedType, ObjectName objectName);
-
}