Adding svn keywords, correcting typos etc.
This commit is contained in:
parent
ed645958fa
commit
1dd5f42142
|
@ -35,6 +35,7 @@ import org.springframework.security.intercept.method.AbstractFallbackMethodDefin
|
||||||
*
|
*
|
||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public class Jsr250MethodDefinitionSource extends AbstractFallbackMethodDefinitionSource {
|
public class Jsr250MethodDefinitionSource extends AbstractFallbackMethodDefinitionSource {
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@ import org.springframework.util.ObjectUtils;
|
||||||
*
|
*
|
||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public abstract class AbstractFallbackMethodDefinitionSource implements MethodDefinitionSource {
|
public abstract class AbstractFallbackMethodDefinitionSource implements MethodDefinitionSource {
|
||||||
|
|
||||||
|
@ -144,7 +145,7 @@ public abstract class AbstractFallbackMethodDefinitionSource implements MethodDe
|
||||||
* Note that the {@link Method#getDeclaringClass()} may not equal the <code>targetClass</code>.
|
* Note that the {@link Method#getDeclaringClass()} may not equal the <code>targetClass</code>.
|
||||||
* Both parameters are provided to assist subclasses which may wish to provide advanced
|
* Both parameters are provided to assist subclasses which may wish to provide advanced
|
||||||
* capabilities related to method metadata being "registered" against a method even if the
|
* capabilities related to method metadata being "registered" against a method even if the
|
||||||
* target class does not declare the method (ie the subclass may only inherit the method).
|
* target class does not declare the method (i.e. the subclass may only inherit the method).
|
||||||
*
|
*
|
||||||
* @param method the method for the current invocation (never <code>null</code>)
|
* @param method the method for the current invocation (never <code>null</code>)
|
||||||
* @param targetClass the target class for the invocation (may be <code>null</code>)
|
* @param targetClass the target class for the invocation (may be <code>null</code>)
|
||||||
|
|
|
@ -31,7 +31,7 @@ import java.lang.reflect.Method;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract implementation of <Code>MethodDefinitionSource</code>.
|
* Abstract implementation of <code>MethodDefinitionSource</code>.
|
||||||
*
|
*
|
||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
|
|
|
@ -42,7 +42,8 @@ import org.springframework.util.ClassUtils;
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
* @version $Id: MethodDefinitionMap.java 2558 2008-01-30 15:43:40Z luke_t $
|
* @version $Id$
|
||||||
|
* @since 2.0
|
||||||
*/
|
*/
|
||||||
public class MapBasedMethodDefinitionSource extends AbstractFallbackMethodDefinitionSource implements BeanClassLoaderAware {
|
public class MapBasedMethodDefinitionSource extends AbstractFallbackMethodDefinitionSource implements BeanClassLoaderAware {
|
||||||
//~ Static fields/initializers =====================================================================================
|
//~ Static fields/initializers =====================================================================================
|
||||||
|
@ -217,7 +218,7 @@ public class MapBasedMethodDefinitionSource extends AbstractFallbackMethodDefini
|
||||||
protected ConfigAttributeDefinition lookupAttributes(Method method) {
|
protected ConfigAttributeDefinition lookupAttributes(Method method) {
|
||||||
List attributesToReturn = new ArrayList();
|
List attributesToReturn = new ArrayList();
|
||||||
|
|
||||||
// Add attributes explictly defined for this method invocation
|
// Add attributes explicitly defined for this method invocation
|
||||||
merge(attributesToReturn, (ConfigAttributeDefinition) this.methodMap.get(method));
|
merge(attributesToReturn, (ConfigAttributeDefinition) this.methodMap.get(method));
|
||||||
|
|
||||||
// Add attributes explicitly defined for this method invocation's interfaces
|
// Add attributes explicitly defined for this method invocation's interfaces
|
||||||
|
@ -268,8 +269,8 @@ public class MapBasedMethodDefinitionSource extends AbstractFallbackMethodDefini
|
||||||
/**
|
/**
|
||||||
* Stores both the Java Method as well as the Class we obtained the Method from. This is necessary because Method only
|
* Stores both the Java Method as well as the Class we obtained the Method from. This is necessary because Method only
|
||||||
* provides us access to the declaring class. It doesn't provide a way for us to introspect which Class the Method
|
* provides us access to the declaring class. It doesn't provide a way for us to introspect which Class the Method
|
||||||
* was registered against. If a given Class inherits and redeclares a method (ie calls super();) the registered Class
|
* was registered against. If a given Class inherits and redeclares a method (i.e. calls super();) the registered Class
|
||||||
* and delcaring Class are the same. If a given class merely inherits but does not redeclare a method, the registered
|
* and declaring Class are the same. If a given class merely inherits but does not redeclare a method, the registered
|
||||||
* Class will be the Class we're invoking against and the Method will provide details of the declared class.
|
* Class will be the Class we're invoking against and the Method will provide details of the declared class.
|
||||||
*/
|
*/
|
||||||
private class RegisteredMethod {
|
private class RegisteredMethod {
|
||||||
|
|
Loading…
Reference in New Issue