aboutsummaryrefslogtreecommitdiffstats
path: root/container-jersey2/src/main/java/com/yahoo/container/jaxrs/annotation/Component.java
blob: da8f35eaa00b2b84fecb7eac5a66977c8c09d014 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.jaxrs.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation for injecting jdisc container components into jaxrs resources and providers
 * @author Tony Vaagenes
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface Component {}