summaryrefslogtreecommitdiffstats
path: root/chain/src/main/java/com/yahoo/component/chain/model/Resolver.java
blob: 0f848cafea3bdd65363b661f67e9b712c67c69f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.component.chain.model;

import com.yahoo.component.ComponentSpecification;

/**
 * Maps component specifications to matching instances.
 *
 * @author tonytv
 */
public interface Resolver<T> {
    T resolve(ComponentSpecification componentSpecification);
}