001 /*
002 * The contents of this file are subject to the terms
003 * of the Common Development and Distribution License
004 * (the "License"). You may not use this file except
005 * in compliance with the License.
006 *
007 * You can obtain a copy of the license at
008 * http://www.opensource.org/licenses/cddl1.php
009 * See the License for the specific language governing
010 * permissions and limitations under the License.
011 */
012
013 /*
014 * Context.java
015 *
016 * Created on November 16, 2006, 3:37 PM
017 *
018 */
019
020 package javax.ws.rs.core;
021
022 import java.lang.annotation.Documented;
023 import java.lang.annotation.ElementType;
024 import java.lang.annotation.Retention;
025 import java.lang.annotation.RetentionPolicy;
026 import java.lang.annotation.Target;
027
028 /**
029 * This annotation is used to inject information into a class
030 * field, bean property or method parameter.
031 * @see Application
032 * @see UriInfo
033 * @see Request
034 * @see HttpHeaders
035 * @see SecurityContext
036 * @see javax.ws.rs.ext.Providers
037 */
038 @Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD})
039 @Retention(RetentionPolicy.RUNTIME)
040 @Documented
041 public @interface Context {
042 }