浏览代码

Improve documentation for abstract contract.

Ben Alex 21 年之前
父节点
当前提交
8ec0d89fe4

+ 8 - 0
core/src/main/java/org/acegisecurity/intercept/method/AbstractMethodDefinitionSource.java

@@ -64,6 +64,14 @@ public abstract class AbstractMethodDefinitionSource
      * Provided so subclasses need only to provide one basic method to properly
      * interface with the <code>MethodDefinitionSource</code>.
      * </p>
+     * 
+     * <p>
+     * Returns <code>null</code> if there are no matching attributes for the
+     * method invocation.
+     * </p>
+     *
+     * @param mi the method being invoked for which configuration attributes
+     *        should be looked up
      *
      * @return the <code>ConfigAttributeDefinition</code> that applies to the
      *         specified <code>MethodInvocation</code>