From dc6357d504d74a8bb0a1d6bd4c947f6fa16673f7 Mon Sep 17 00:00:00 2001
From: Ben Alex
Date: Sun, 28 Mar 2004 11:51:23 +0000
Subject: [PATCH] Improved JavaDocs.
---
.../MethodDefinitionAttributes.java | 34 +++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/core/src/main/java/org/acegisecurity/MethodDefinitionAttributes.java b/core/src/main/java/org/acegisecurity/MethodDefinitionAttributes.java
index 30c0a0138d..a88caebb41 100644
--- a/core/src/main/java/org/acegisecurity/MethodDefinitionAttributes.java
+++ b/core/src/main/java/org/acegisecurity/MethodDefinitionAttributes.java
@@ -28,6 +28,40 @@ import java.util.Iterator;
/**
* Stores a {@link ConfigAttributeDefinition} for each method signature defined
* by Commons Attributes.
+ *
+ *
+ * This class will only detect those attributes which are defined for the:
+ *
+ *
+ * -
+ * The class-wide attributes defined for the intercepted class.
+ *
+ * -
+ * The class-wide attributes defined for interfaces explicitly implemented by
+ * the intercepted class.
+ *
+ * -
+ * The method-specific attributes defined for the intercepted method of the
+ * intercepted class.
+ *
+ * -
+ * The method-specific attributes defined by any explicitly implemented
+ * interface if that interface contains a method signature matching that of
+ * the intercepted method.
+ *
+ *
+ *
+ *
+ *
+ * Note that attributes defined against parent classes (either for their
+ * methods or interfaces) are not detected. The attributes must be defined
+ * against an explicit method or interface on the intercepted class.
+ *
+ *
+ *
+ * Attributes detected that do not implement {@link ConfigAttribute} will be
+ * ignored.
+ *
*
* @author Cameron Braid
* @author Ben Alex