Return-Path: X-Original-To: apmail-geronimo-scm-archive@www.apache.org Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D58C1072F for ; Fri, 19 Apr 2013 18:21:54 +0000 (UTC) Received: (qmail 66988 invoked by uid 500); 19 Apr 2013 18:21:54 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 66949 invoked by uid 500); 19 Apr 2013 18:21:54 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 66942 invoked by uid 99); 19 Apr 2013 18:21:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 18:21:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 18:21:53 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B678123888CD; Fri, 19 Apr 2013 18:21:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1469980 - /geronimo/specs/trunk/geronimo-annotation_1.2_spec/src/main/java/javax/annotation/Priority.java Date: Fri, 19 Apr 2013 18:21:31 -0000 To: scm@geronimo.apache.org From: struberg@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130419182131.B678123888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: struberg Date: Fri Apr 19 18:21:31 2013 New Revision: 1469980 URL: http://svn.apache.org/r1469980 Log: GERONIMO-6464 add javax.annotation.Priority Added: geronimo/specs/trunk/geronimo-annotation_1.2_spec/src/main/java/javax/annotation/Priority.java (with props) Added: geronimo/specs/trunk/geronimo-annotation_1.2_spec/src/main/java/javax/annotation/Priority.java URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-annotation_1.2_spec/src/main/java/javax/annotation/Priority.java?rev=1469980&view=auto ============================================================================== --- geronimo/specs/trunk/geronimo-annotation_1.2_spec/src/main/java/javax/annotation/Priority.java (added) +++ geronimo/specs/trunk/geronimo-annotation_1.2_spec/src/main/java/javax/annotation/Priority.java Fri Apr 19 18:21:31 2013 @@ -0,0 +1,24 @@ +package javax.annotation; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * Annotation to declare a priority for a class. + * This is used by other specs, e.g. CDI where it is used + * to define the priority of Interceptors and Decorators. + */ +@Target({ElementType.TYPE}) +@Retention(RetentionPolicy.RUNTIME) +@Documented +public @interface Priority { + + /** + * The priority value. + * The higher the value, the more important the annotated class is. + */ + int value(); +} Propchange: geronimo/specs/trunk/geronimo-annotation_1.2_spec/src/main/java/javax/annotation/Priority.java ------------------------------------------------------------------------------ svn:eol-style = native