summaryrefslogtreecommitdiffstats
path: root/chain/src/main/java/com/yahoo/component/chain/model/Resolver.java
blob: 5f6b3ce79054abd3dcbd025c1ad205e5c92a6179 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2017 Yahoo Holdings. 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);
}