Author: gavin.king(a)jboss.com
Date: 2009-10-27 14:59:13 -0400 (Tue, 27 Oct 2009)
New Revision: 4354
Modified:
api/trunk/cdi/src/main/java/javax/decorator/package-info.java
Log:
decorator restriction
Modified: api/trunk/cdi/src/main/java/javax/decorator/package-info.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/decorator/package-info.java 2009-10-27 18:51:33 UTC
(rev 4353)
+++ api/trunk/cdi/src/main/java/javax/decorator/package-info.java 2009-10-27 18:59:13 UTC
(rev 4354)
@@ -19,11 +19,11 @@
*
* <h3>Decorated types</h3>
*
- * <p>The set of decorated types
- * of a decorator includes all interfaces implemented directly or
- * indirectly by the bean class, except for {@link java.io.Serializable}.
- * The decorator bean class and its superclasses are not decorated
- * types of the decorator. The decorator class may be abstract.</p>
+ * <p>The set of decorated types of a decorator includes all
+ * interfaces implemented directly or indirectly by the bean class,
+ * except for {@link java.io.Serializable}. The decorator bean
+ * class and its superclasses are not decorated types of the
+ * decorator. The decorator class may be abstract.</p>
*
* <p>A decorator intercepts every method:</p>
* <ul>
@@ -64,6 +64,11 @@
* the bean.</li>
* </ul>
*
+ * <p>If a managed bean class is declared final, it may not have
+ * decorators. If a managed bean has a non-static, non-private,
+ * final method, it may not have any decorator which implements
+ * that method.</p>
+ *
* @see javax.enterprise.inject
*
* @see javax.decorator.Decorator