aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/component/chain/dependencies/After.java
blob: bc2fb6bb2ae07ed8a318a84b7e3bca948811180f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.component.chain.dependencies;

import java.lang.annotation.*;

/**
 * Components or phases providing names contained in this list must be
 * placed earlier in the chain than the component that is annotated.
 * <p>
 * See {@link com.yahoo.component.chain.dependencies.ordering.ChainBuilder}
 * for dependency handling information.
 *
 * @author Tony Vaagenes
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface After {

    String[] value() default {};

}