소스 검색

Improve documentation for abstract contract.

Ben Alex 21 년 전
부모
커밋
8ec0d89fe4
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      core/src/main/java/org/acegisecurity/intercept/method/AbstractMethodDefinitionSource.java

+ 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>