summaryrefslogtreecommitdiffstats
path: root/chain/src/main/java/com/yahoo/component/chain/model/Resolver.java
blob: 15acff0db0bb4d7cbb1f7093b7a99f65385a7a38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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 Tony Vaagenes
 */
public interface Resolver<T> {

    T resolve(ComponentSpecification componentSpecification);

}