aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/component/chain/dependencies/After.java
blob: a9ced412a33f44b5402e80c2b561bd1ce0f0183a (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 Yahoo. 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 {};

}