Author: gavin.king(a)jboss.com
Date: 2009-10-29 00:02:38 -0400 (Thu, 29 Oct 2009)
New Revision: 4376
Added:
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/package-info.java
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Annotated.java
Log:
move blurb to package-level doc
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Annotated.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Annotated.java 2009-10-29
03:56:24 UTC (rev 4375)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Annotated.java 2009-10-29
04:02:38 UTC (rev 4376)
@@ -24,17 +24,6 @@
/**
* <p>Represents a Java program element that can be annotated.<p>
*
- * <p>A portable extension may provide an alternative metadata
- * source, such as configuration by XML. <tt>Annotated</tt>
- * and its subtypes allow a portable extension to specify
- * metadata that overrides the annotations that exist on a
- * bean class. The portable extension is responsible for
- * implementing the interfaces, thereby exposing the metadata
- * to the container. The container must use the operations of
- * <tt>Annotated</tt> and its subinterfaces to discover program
- * element types and annotations, instead of directly calling the
- * Java Reflection API.</p>
- *
* @see java.lang.reflect.AnnotatedElement
*
* @author Gavin King
Added: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/package-info.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/package-info.java
(rev 0)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/package-info.java 2009-10-29
04:02:38 UTC (rev 4376)
@@ -0,0 +1,20 @@
+/**
+ * <p>The portable extension integration SPI.</p>
+ *
+ * <h3>Alternate metadata sources</h3>
+ *
+ * <p>A portable extension may provide an alternative metadata
+ * source, such as configuration by XML.
+ * {@link javax.enterprise.inject.spi.Annotated}
+ * and its subtypes allow a portable extension to specify
+ * metadata that overrides the annotations that exist on a
+ * bean class. The portable extension is responsible for
+ * implementing the interfaces, thereby exposing the metadata
+ * to the container. The container must use the operations of
+ * <tt>Annotated</tt> and its subinterfaces to discover program
+ * element types and annotations, instead of directly calling the
+ * Java Reflection API.</p>
+ *
+
+ */
+package javax.enterprise.inject.spi;
\ No newline at end of file
Show replies by date