GERONIMO-6463 Priority constants are public static final of course
git-svn-id: https://svn.apache.org/repos/asf/geronimo/specs/trunk@1670447 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/geronimo-interceptor_1.2_spec/src/main/java/javax/interceptor/Interceptor.java b/geronimo-interceptor_1.2_spec/src/main/java/javax/interceptor/Interceptor.java
index 3f6ce00..c5978ba 100644
--- a/geronimo-interceptor_1.2_spec/src/main/java/javax/interceptor/Interceptor.java
+++ b/geronimo-interceptor_1.2_spec/src/main/java/javax/interceptor/Interceptor.java
@@ -27,20 +27,22 @@
/**
* Annotation for used defining the interceptors.
- *
- * @version $Rev$ $Id: Interceptor.java 782259 2009-06-06 13:31:32Z gerdogdu $
*/
@Retention(RUNTIME)
@Target({TYPE})
@Documented
public @interface Interceptor
{
+ /**
+ * A set of default priorities which can be used by
+ * Interceptors via {@code @javax.annotation.Priority}.
+ */
public static class Priority {
- int PLATFORM_BEFORE = 0;
- int LIBRARY_BEFORE = 1000;
- int APPLICATION = 2000;
- int LIBRARY_AFTER = 3000;
- int PLATFORM_AFTER = 4000;
+ public static final int PLATFORM_BEFORE = 0;
+ public static final int LIBRARY_BEFORE = 1000;
+ public static final int APPLICATION = 2000;
+ public static final int LIBRARY_AFTER = 3000;
+ public static final int PLATFORM_AFTER = 4000;
private Priority() {
// no-op