org.squashtest.tm.service.internal.spring
Class CompositeDelegatingParameterNameDiscoverer

java.lang.Object
  extended by 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

Constructor Summary
CompositeDelegatingParameterNameDiscoverer(List<org.springframework.core.ParameterNameDiscoverer> discoverers)
           
 
Method Summary
 String[] getParameterNames(Constructor ctor)
          (non-Javadoc)
 String[] getParameterNames(Method method)
          (non-Javadoc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDelegatingParameterNameDiscoverer

public CompositeDelegatingParameterNameDiscoverer(List<org.springframework.core.ParameterNameDiscoverer> discoverers)
Parameters:
discoverers -
Method Detail

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.