aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/component/chain/model/Resolver.java
blob: 8fcd49076dc0f5e3476486f7e63f7f24ff4c649b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Yahoo. 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);

}