org.squashtest.tm.service.internal.spring
Class CompositeDelegatingParameterNameDiscoverer
java.lang.Object
org.squashtest.tm.service.internal.spring.CompositeDelegatingParameterNameDiscoverer
- All Implemented Interfaces:
- org.springframework.core.ParameterNameDiscoverer
public class CompositeDelegatingParameterNameDiscoverer
- extends Object
- implements org.springframework.core.ParameterNameDiscoverer
This ParameterNameDiscoverer holds an ordererd collection of ParameterNameDiscoverer. It delegates to
each component of this collection until a component is able to resolve the parameters names i.e. it don't return
null)
Note : PrioritizedParameterNameDiscoverer cannot be configured through XML AFAIK
- Author:
- Gregory Fouquet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeDelegatingParameterNameDiscoverer
public CompositeDelegatingParameterNameDiscoverer(List<org.springframework.core.ParameterNameDiscoverer> discoverers)
- Parameters:
discoverers -
getParameterNames
public String[] getParameterNames(Method method)
- (non-Javadoc)
- Specified by:
getParameterNames in interface org.springframework.core.ParameterNameDiscoverer
- See Also:
ParameterNameDiscoverer.getParameterNames(java.lang.reflect.Method)
getParameterNames
public String[] getParameterNames(Constructor ctor)
- (non-Javadoc)
- Specified by:
getParameterNames in interface org.springframework.core.ParameterNameDiscoverer
- See Also:
ParameterNameDiscoverer.getParameterNames(java.lang.reflect.Constructor)
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.